Skip to content

Commit

Permalink
Test === works on native num NaNs
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 10, 2016
1 parent 31ce7c1 commit e6b125e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-types/nan.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 23;
plan 24;

# Undeterminate Math results
# see L<"http://mathworld.wolfram.com/Indeterminate.html">
Expand Down Expand Up @@ -43,6 +43,7 @@ is NaN.perl, 'NaN', 'NaN perlification ok';

#RT #83622
ok NaN===NaN, "NaN value identity";
ok (my num $ = NaN) === (my num $ = NaN), "NaN value identity (native num)";

{
#RT #126990
Expand Down

0 comments on commit e6b125e

Please sign in to comment.