Permalink
Browse files

Add test for Nieczabug #142, !(4 eqv 4.0)

  • Loading branch information...
1 parent af688d3 commit 52a1f79d481b79e21ef383085c8bebd67638a07b @colomon colomon committed Aug 12, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 S03-operators/eqv.t
View
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 52;
+plan 53;
# L<S03/Comparison semantics/Binary eqv tests equality much like === does>
# L<S32::Basics/Any/"=item eqv">
@@ -161,4 +161,9 @@ plan 52;
ok ((), ()) eqv ((), ()), '((), ())';
}
+# Nieczabug #142
+{
+ nok 4 eqv 4.0, "Values should be eqv only if they are the same type";
+}
+
# vim: ft=perl6

0 comments on commit 52a1f79

Please sign in to comment.