Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[eval.t] Test for RT 112472 -- bad error message for eval of bogus la…
…nguage
  • Loading branch information
kyleha committed May 14, 2012
1 parent cb72ab0 commit a4148aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S29-context/eval.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 15;
plan 16;

# L<S29/Context/"=item eval">

Expand Down Expand Up @@ -81,4 +81,10 @@ is eval("'møp'".encode('UTF-8')), 'møp', 'eval(Buf)';

}

# RT 112472
{
try eval(:lang<rt112472>, '1');
ok "$!" ~~ / 'rt112472' /, 'eval in bogus language mentions the language';
}

# vim: ft=perl6

0 comments on commit a4148aa

Please sign in to comment.