blob: 905ac253905510c2d92ca305c20fd17101fdbdb2 [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
shouldBe(JSON.stringify(), undefined);
shouldBe(JSON.stringify(undefined), undefined);