Skip to content

Commit c961511

Browse files
lint fixes
1 parent 6921e96 commit c961511

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-assert-objects.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ describe('Object Comparison Tests', function() {
282282
});
283283

284284
it('should strictly compare two Map objects from different realms with identical entries', function() {
285-
const map1 = new vm.runInNewContext('Map')([["key1", "value1"], ["key2", "value2"]]));
285+
const map1 = new vm.runInNewContext('Map')([['key1', 'value1'], ['key2', 'value2']]);
286286
const map2 = new Map([
287287
['key1', 'value1'],
288288
['key2', 'value2'],
@@ -291,7 +291,7 @@ describe('Object Comparison Tests', function() {
291291
});
292292

293293
it('should not strictly compare two Set objects from different realms with different values', function() {
294-
const set1 = new vm.runInNewContext('Set')(["value1", "value2"]));
294+
const set1 = new vm.runInNewContext('Set')(['value1', 'value2']);
295295
const set2 = new Set(['value1', 'value3']);
296296
assert.throws(() => assert.matchObjectStrict(set1, set2), Error);
297297
});
@@ -301,7 +301,7 @@ describe('Object Comparison Tests', function() {
301301
const set2 = new Set(['value1', 'value3']);
302302
assert.throws(() => assert.matchObjectStrict(set1, set2), Error);
303303
});
304-
304+
305305
it('should compare plain objects from different realms', function() {
306306
assert.matchObjectStrict(
307307
vm.runInNewContext('({ a: 1, b: 2n, c: "3", d: /4/, e: new Set([5]), f: [6], g: new Uint8Array })'),

0 commit comments

Comments
 (0)