Permalink
Browse files

[t/spec] fix Rat stringification in num.t

git-svn-id: http://svn.pugscode.org/pugs@28165 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 1e72aa0 commit 685fe36fd55d72928a6407e0031b2d59c38855b4 moritz committed Sep 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 S02-builtin_data_types/num.t
View
2 S02-builtin_data_types/num.t
@@ -21,7 +21,7 @@ plan 48;
{
my $a = 1 / 1;
isa_ok($a, Rat);
- is($a, "1/1", '1.0 stringification works');
+ is(~$a, "1", '1/1 stringification works');
}
{

0 comments on commit 685fe36

Please sign in to comment.