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: Use AssertionError in assertEqual #560

Merged
merged 1 commit into from
Aug 14, 2019
Merged

fix: Use AssertionError in assertEqual #560

merged 1 commit into from
Aug 14, 2019

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Aug 12, 2019

Closes #555

I merged testing/asserts.ts and testing/pretty.ts - both files were short so there's really no need to split them.

Note that this PR is blocked by #556

@bartlomieju
Copy link
Member Author

@ry should be landable

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju Can you draft a commit message? This is a bit more than using just AssertionError.

* merge 'testing/pretty.ts' into 'testing/asserts.ts'

* throw AssertionError in assertEquals

* update misc tests use AssertionError
@bartlomieju
Copy link
Member Author

@ry rebased and added commit message: 9cd711f

@ry ry merged commit ff2d7f2 into denoland:master Aug 14, 2019
@bartlomieju bartlomieju deleted the fix-pretty_assert branch August 14, 2019 14:23
ry pushed a commit to ry/deno that referenced this pull request Oct 9, 2019
* merge 'testing/pretty.ts' into 'testing/asserts.ts'
* throw AssertionError in assertEquals
* update misc tests use AssertionError
Original: denoland/deno_std@ff2d7f2
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.

[testing] assertEquals() throws a new Error() instead of a new AssertionError()
2 participants