Created
June 17, 2018 19:36
-
-
Save Whateverable/9e01d0c675e8be0f28cb50b3fe42712f to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test; throws-like 'my class Foo {}; die', X::AdHoc; throws-like 'my class Foo {}; die', X::AdHoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1..2 | |
ok 1 - 'my class Foo {}; die' died | |
ok 2 - right exception type (X::AdHoc) | |
ok 1 - did we throws-like X::AdHoc? | |
1..2 | |
ok 1 - 'my class Foo {}; die' died | |
ok 2 - right exception type (X::AdHoc) | |
ok 2 - did we throws-like X::AdHoc? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment