Skip to content

Commit

Permalink
test X::Numeric::Real
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jul 12, 2012
1 parent 593c77c commit a47ed9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -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.