Skip to content

Commit

Permalink
fix assigning typo from 0d87100
Browse files Browse the repository at this point in the history
  • Loading branch information
b2gills committed Dec 12, 2017
1 parent 69d9d04 commit 84e2f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S02-types/native.t
Expand Up @@ -390,14 +390,14 @@ subtest 'meta-assign op with native nums' => {
my num32 $s = 0e0;
for @arr { $s += $_ }
$s
}, 3.6, 'meta-assing into inited num';
}, 3.6, 'meta-assigning into inited num';

is-deeply do {
my num32 @arr = 1.1e0, 1.2e0, 1.3e0;
my num32 $s;
for @arr { $s += $_ }
$s
}, NaN, 'meta-assing into UN-inited num';
}, NaN, 'meta-assigning into UN-inited num';
}

# vim: ft=perl6

0 comments on commit 84e2f22

Please sign in to comment.