Permalink
Browse files

test X::Eval::NoSuchLang

  • Loading branch information...
1 parent b94655c commit 6aa9f5686c5439cfdaf0396e85587a2f0cbd8bf2 @moritz moritz committed Jun 3, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 S32-exceptions/misc.t
View
@@ -279,4 +279,8 @@ throws_like 'Date.new("2012/04")', X::Temporal::InvalidFormat,
invalid-str => '2012/04',
target => 'Date';
+throws_like 'eval("foo", :lang<no-such-language>)',
+ X::Eval::NoSuchLang,
+ lang => 'no-such-language';
+
done;

0 comments on commit 6aa9f56

Please sign in to comment.