blob: 53ea86fd3d95415c6b56533a1387932167cb133f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2019 Ron Buckton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
object values compare correctly.
includes: [deepEqual.js]
---*/
assert.deepEqual({}, {});
assert.deepEqual({ a: 1, b: true }, { a: 1, b: true });
assert.throws(Test262Error, function () { assert.deepEqual({}, { a: 1, b: true }); });
assert.throws(Test262Error, function () { assert.deepEqual({ a: 1, b: true }, { a: 1, b: false }); });
reportCompare(0, 0);
|