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
src/test/clojure/clojure/data/avl_test.clj:56:6: suspicious-test: 'is' form has non-string as second arg. The second arg is an optional message to print if the test fails, not a test expression, and will never cause your test to fail unless it throws an exception. If the second arg is an expression that evaluates to a string during test time, and you intended this, then ignore this warning.
where the second arg to the (is ...) form is the symbol msg, which is a local let binding to the return valu of a (format ...) call, which is type-hinted with a ^String return type on the arg vector. tools.analyzer(.jvm) probably provides enough info to determine that this should not be warned about, if Eastwood is modified to take advantage of it.
The text was updated successfully, but these errors were encountered:
Example:
src/test/clojure/clojure/data/avl_test.clj:56:6: suspicious-test: 'is' form has non-string as second arg. The second arg is an optional message to print if the test fails, not a test expression, and will never cause your test to fail unless it throws an exception. If the second arg is an expression that evaluates to a string during test time, and you intended this, then ignore this warning.
where the second arg to the (is ...) form is the symbol msg, which is a local let binding to the return valu of a (format ...) call, which is type-hinted with a ^String return type on the arg vector. tools.analyzer(.jvm) probably provides enough info to determine that this should not be warned about, if Eastwood is modified to take advantage of it.
The text was updated successfully, but these errors were encountered: