This is the same as pjstadig/humane-test-output#21. When ultra has been activated, the overwritten = method on assert-expr triggers nuisance warnings from the eastwood static analysis tool. The warning message is "Test expression is always logicla true or always logical false." This PR fixes the nuisance warnings by checking the number of arguments at read time, rather than at run time.
This is the same as pjstadig/humane-test-output#21. When ultra has been activated, the overwritten
=
method onassert-expr
triggers nuisance warnings from the eastwood static analysis tool. The warning message is "Test expression is always logicla true or always logical false." This PR fixes the nuisance warnings by checking the number of arguments at read time, rather than at run time.