Fix tests for DataView#setFloat when no value arg is provided

Fixes gh-686
This commit is contained in:
Leonardo Balter 2016-06-27 15:20:51 -04:00 committed by Mike Pennisi
parent 09be4da196
commit a78cf3de4a
2 changed files with 2 additions and 2 deletions

View File

@ -105,4 +105,4 @@ assert.sameValue(sample.getFloat32(0), 42, "undefined");
sample.setFloat32(0, 7);
sample.setFloat32();
assert.sameValue(sample.getFloat32(0), 0, "no arg");
assert.sameValue(sample.getFloat32(0), NaN, "no arg");

View File

@ -106,4 +106,4 @@ assert.sameValue(sample.getFloat64(0), 42, "undefined");
sample.setFloat64(0, 7);
sample.setFloat64();
assert.sameValue(sample.getFloat64(0), 0, "no arg");
assert.sameValue(sample.getFloat64(0), NaN, "no arg");