Skip to content

Commit 450b919

Browse files
committed
adjust some exceptions
1 parent a2e9472 commit 450b919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

S02-literals/radix.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ is(
212212

213213
# L<S02/Exponentials/"not clear whether the exponentiator should be 10 or the radix">
214214
throws-like { EVAL '0b1.1e10' },
215-
X::Syntax::Confused,
215+
X::Obsolete,
216216
'Ambiguous, illegal syntax doesn\'t work';
217217

218218
# L<S02/Exponentials/"and this makes it explicit">

S32-exceptions/misc.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ throws-like { $*an_undeclared_dynvar = 42 }, X::Dynamic::NotFound;
605605

606606
# RT #114014
607607
{
608-
throws-like { EVAL q[ ord.Cool ] }, X::Comp::Group,
608+
throws-like { EVAL q[ ord.Cool ] }, Exception,
609609
'adequate error message when calling bare "ord"';
610610
}
611611

0 commit comments

Comments
 (0)