summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test/expected/export/reportCompare.js
blob: a71ca73b21f1d4c2e1e44b31c6ba7e028b653ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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