Skip to content
Browse files

test X::Numeric::Real

  • Loading branch information...
1 parent 593c77c commit a47ed9fbf8bba1f4e9272893ead1f7afcf283a17 @moritz moritz committed Jul 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 S32-exceptions/misc.t
View
3 S32-exceptions/misc.t
@@ -264,4 +264,7 @@ throws_like 'DateTime.new("1998-12-31T23:59:60+0200", :timezone<Z>)', X::DateTim
throws_like 'Set(Any.new)', X::Set::Coerce;
+throws_like 'use fatal; (1+2i).Num', X::Numeric::Real, target => Num;
+throws_like 'use fatal; (1+2i).Real', X::Numeric::Real, target => Real;
+
done;

0 comments on commit a47ed9f

Please sign in to comment.
Something went wrong with that request. Please try again.