Skip to content

Commit b99fd2d

Browse files
committed
Fix exception type
1 parent ba89213 commit b99fd2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S32-exceptions/misc.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ throws_like '&[doesntexist]', X::Comp, # XXX probably needs exception type fix
546546

547547
# RT #116607
548548
{
549-
throws_like { EVAL q[my \foo], }, X::AdHoc, # XXX adapt when typed exception is available
549+
throws_like { EVAL q[my \foo], }, X::Syntax::Term::MissingInitializer,
550550
message => 'Term definition requires an initializer';
551551
}
552552

0 commit comments

Comments
 (0)