mirror of https://github.com/tc39/test262.git
Fix tests for DataView#setFloat when no value arg is provided
Fixes gh-686
This commit is contained in:
parent
09be4da196
commit
a78cf3de4a
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue