Skip to content

Fix exception check on tests#33

Open
gusty wants to merge 1 commit intorspeele:masterfrom
gusty:patch-2
Open

Fix exception check on tests#33
gusty wants to merge 1 commit intorspeele:masterfrom
gusty:patch-2

Conversation

@gusty
Copy link
Copy Markdown
Contributor

@gusty gusty commented Nov 28, 2020

These tests were catching all exceptions, even the interesting ones.
Try changing require (not ran) "ran kinda early" to require (ran) "ran kinda early" and you'll see the test still pass.
This PR fix it by pattern matching on the exception.

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.

1 participant