Skip to content

Listen for errors in tests rather than asserting true #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2015
Merged

Listen for errors in tests rather than asserting true #142

merged 1 commit into from
Mar 2, 2015

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