Skip to content
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

fix: assertFailure catch exception throw by assert (#703) #704

Merged
merged 1 commit into from
Aug 24, 2018

Conversation

someblue
Copy link
Contributor

Fix #703.

I think try catch statement inside assertFailure() is unnecessary. Because:

  1. If exception happens in lint(), this test case should be treated as a fail test. This exception should be catch by Chai.
  2. It's unnecessary to print exception stack. Chai will print it in a better place and format.

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