Skip to content

Commit 2a7596f

Browse files
committed
correct exception type
1 parent 84a00b5 commit 2a7596f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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::Obsolete,
215+
X::Syntax::Malformed,
216216
'Ambiguous, illegal syntax doesn\'t work';
217217

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

0 commit comments

Comments
 (0)