summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/JSON/parse-syntax-errors-01.js
blob: cbb49b0eb79b14926fa8e1353971a77e36753e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
testJSON("{}...", true);
testJSON('{"foo": truBBBB}', true);
testJSON('{foo: truBBBB}', true);
testJSON('{"foo": undefined}', true);
testJSON('{"foo": ]', true);
testJSON('{"foo', true);

/******************************************************************************/

if (typeof reportCompare === "function")
  reportCompare(true, true);

print("Tests complete");