Skip to content
Snippets Groups Projects
Commit a78cf3de authored by Leonardo Balter's avatar Leonardo Balter Committed by Mike Pennisi
Browse files

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

Fixes gh-686
parent 09be4da1
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......@@ -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");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment