diff --git a/test/built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js b/test/built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js index c35276f0a0938ef02e9c18e455c6689f7cb900be..5a88268380cc18cc196154e55439842040306caf 100644 --- a/test/built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js +++ b/test/built-ins/DataView/prototype/setFloat32/toindex-byteoffset.js @@ -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"); diff --git a/test/built-ins/DataView/prototype/setFloat64/toindex-byteoffset.js b/test/built-ins/DataView/prototype/setFloat64/toindex-byteoffset.js index d09773c3581ae982e5f0537e0fffae7c49ff3291..f71a5173005d6cdf7188927e4c517e337f7216a4 100644 --- a/test/built-ins/DataView/prototype/setFloat64/toindex-byteoffset.js +++ b/test/built-ins/DataView/prototype/setFloat64/toindex-byteoffset.js @@ -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");