Permalink
Browse files

[t/spec] test for RT #60674, sign(Complex)

git-svn-id: http://svn.pugscode.org/pugs@28948 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 7da125c commit 96faf81c5bdc3afa0bdcfdc36090a1e97652d074 moritz committed Oct 29, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 S32-num/sign.t
View
5 S32-num/sign.t
@@ -1,6 +1,6 @@
use v6;
use Test;
-plan 14;
+plan *;
# L<S32::Numeric/Num/"=item sign">
@@ -29,5 +29,8 @@ is(sign(NaN),NaN, 'sign of NaN is NaN');
}
ok sign(undef) ~~ undef, 'sign(undef) is undef';
+ok sign(3+4i) ~~ undef, 'sign(Complex) fails';
+
+done_testing;
# vim: ft=perl6

0 comments on commit 96faf81

Please sign in to comment.