Skip to content

Conversation

jawshooah
Copy link
Contributor

Assert.isTrue(true) doesn't say much about what it is we're testing. We should be more explicit, checking both that no error events fire and that no uncaught exceptions are raised.

@nschonni nschonni added this to the v0.2.6 milestone Mar 2, 2015
nschonni added a commit that referenced this pull request Mar 2, 2015
Listen for errors in tests rather than asserting true
@nschonni nschonni merged commit b8e7f29 into CSSLint:master Mar 2, 2015
@jawshooah jawshooah deleted the tests/listen-for-errors branch March 2, 2015 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants