Due to success === 1 and success === 0 being treated specially, the output of passclass() is distorted.
You can see that at the test for 'calc()' on Firefox 43.0:
Only one of seven tests failed, though the assigned class is slightly-buggy, while it should actually be almost-pass.
Due to
success === 1
andsuccess === 0
being treated specially, the output ofpassclass()
is distorted.You can see that at the test for 'calc()' on Firefox 43.0: Only one of seven tests failed, though the assigned class is
slightly-buggy
, while it should actually bealmost-pass
.Sebastian