mirror of https://github.com/tc39/test262.git
[javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 54374edc2b on Mon Oct 15 2018 18:40:44 GMT+0000 (Coordinated Universal Time)
This commit is contained in:
parent
ad672f6246
commit
93e27d5654
|
@ -0,0 +1,7 @@
|
|||
function shouldBe(actual, expected) {
|
||||
if (actual !== expected)
|
||||
throw new Error('bad value: ' + actual);
|
||||
}
|
||||
|
||||
shouldBe(JSON.stringify(), undefined);
|
||||
shouldBe(JSON.stringify(undefined), undefined);
|
Loading…
Reference in New Issue