-
-
Save zoffixznet/313f5520cdd6440a68bf to your computer and use it in GitHub Desktop.
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
zoffix@ZofMain:~/Desktop/CPANPRC/IO-MiddleMan$ perl6 t/06-errors.t | |
1..2 | |
ok 1 - code dies | |
not ok 2 - right exception type (X::AdHoc) | |
# Failed test 'right exception type (X::AdHoc)' | |
# at /home/zoffix/Desktop/CPANPRC/IO-MiddleMan/lib/.precomp/413F3BD5D4F94D649F3E47499CCF19AF880EAC42.1451271052.33018/94/945084FFAEAD20CB3C68E3F19AEC7BA6516E078D line 1 | |
# Expected: X::AdHoc | |
# Got: X::AdHoc | |
# Exception message: Cannot instantiate with .new. Please use one of .hijack, .capture, .mute, or .normal methods. | |
# Looks like you failed 1 test of 2 | |
not ok 1 - did we throws-like X::AdHoc? | |
# Failed test 'did we throws-like X::AdHoc?' | |
# at t/06-errors.t line 5 | |
1..1 | |
# Looks like you failed 1 test of 1 | |
zoffix@ZofMain:~/Desktop/CPANPRC/IO-MiddleMan$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment