You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the compiler will simply allow tests that cannot be run. The following will compile but will not run any tests.
fnfoo(){#[test]fnbar(){}}
This constitutes a silent failure and should probably be a hard error (or at least a warning). There's a lint for it: UnnameableTestFunctions but it isn't run by default.
The text was updated successfully, but these errors were encountered:
djrenren
changed the title
Make unnameable tests an incomptability lint
Make unnameable tests an error
Jul 31, 2018
Right now the compiler will simply allow tests that cannot be run. The following will compile but will not run any tests.
This constitutes a silent failure and should probably be a hard error (or at least a warning). There's a lint for it:
UnnameableTestFunctions
but it isn't run by default.The text was updated successfully, but these errors were encountered: