Permalink
Browse files

[eqv.t] another type difference test

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

0 comments on commit 43e72e3

Please sign in to comment.