Skip to content

Commit

Permalink
Add test for Nieczabug #142, !(4 eqv 4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Aug 12, 2012
1 parent af688d3 commit 52a1f79
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S03-operators/eqv.t
Original file line number Diff line number Diff line change
@@ -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">
Expand Down Expand Up @@ -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.