Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Second test to fully cover RT #81502.
  • Loading branch information
jnthn committed Apr 8, 2015
1 parent fc28e69 commit 99b6ed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-exceptions/misc.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib "t/spec/packages";
use Test::Util;

plan 293;
plan 294;

throws_like '42 +', X::AdHoc, "missing rhs of infix", message => rx/term/;

Expand Down Expand Up @@ -625,5 +625,6 @@ throws_like '5.', X::Comp::Group, sorrows => sub (@s) { @s[0] ~~ X::Syntax::Numb

# RT #81502
throws_like 'BEGIN { ohnoes() }; sub ohnoes() { }', X::Undeclared::Symbols;
throws_like 'BEGIN { die "oh noes!" }', X::Comp::BeginTime, exception => sub ($e) { $e.message eq 'oh noes!' };

# vim: ft=perl6

0 comments on commit 99b6ed7

Please sign in to comment.