Skip to content

Commit

Permalink
[t/spec] define that Rat.new() returns a kind of 0
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@30449 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
moritz committed Apr 22, 2010
1 parent f21cca2 commit aa68cce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-num/rat.t
Expand Up @@ -207,6 +207,8 @@ ok 1/2 !=== 1/3, '=== with false outcome';
is (3/0).Num, Inf, "(3/0).Num = +Inf";
is (-42/0).Num, -Inf, "(-42/0).Num = -Inf";

ok Rat.new() == 0, 'Rat.new() is 0';

done_testing;

# vim: ft=perl6

0 comments on commit aa68cce

Please sign in to comment.