diff options
Diffstat (limited to 'js/src/tests/test/expected/export/reportCompare.js')
-rw-r--r-- | js/src/tests/test/expected/export/reportCompare.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/js/src/tests/test/expected/export/reportCompare.js b/js/src/tests/test/expected/export/reportCompare.js new file mode 100644 index 0000000000..a71ca73b21 --- /dev/null +++ b/js/src/tests/test/expected/export/reportCompare.js @@ -0,0 +1,23 @@ +// Copyright (C) 2017 Mozilla Corporation. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +description: | + assert.sameValue +esid: pending +---*/ + + +var a = 42; + +// comment +assert.sameValue(trueish, true, "ok"); + +assert.sameValue ( true, /*lol*/true, "ok"); + +assert.sameValue(true, f instanceof Function); +assert.sameValue(true, true, "don't crash"); +assert.sameValue(42, foo); + + // this was a assert.sameValue Line + |