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

Add at-test_throws_wrapped to supplement at-test_throws #3

Merged
merged 1 commit into from
Mar 24, 2020

Conversation

NHDaly
Copy link
Member

@NHDaly NHDaly commented Mar 24, 2020

Adds @test_throws_wrapped exception expr which checks that expr throws
an exception which wraps the specified exception.

Copied the code for @test_throws from Test, and modified it to use has_wrapped_exception and unwrap_exception_until.

@NHDaly NHDaly added the enhancement New feature or request label Mar 24, 2020
Adds `@test_throws_wrapped exception expr` which checks that expr throws
an exception which _wraps_ the specified `exception`.

Copied the code for `@test_throws` from `Test`, and updated it.
@NHDaly NHDaly merged commit 1497442 into master Mar 24, 2020
@NHDaly NHDaly deleted the nhd-test_throws_wrapped branch March 24, 2020 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant