Skip to content

Commit bcda388

Browse files
committed
refactor tests
1 parent c44b668 commit bcda388

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/pure/esnext.array.group-by-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ QUnit.test('Array#groupByMap', assert => {
1616
assert.same(that, array, 'correct link to array in callback');
1717
assert.same(this, context, 'correct callback context');
1818
}, context);
19-
assert.ok(groupByMap([], it => it) instanceof Map, 'returns Map');
19+
assert.true(groupByMap([], it => it) instanceof Map, 'returns Map');
2020
assert.deepEqual(from(groupByMap([1, 2, 3], it => it % 2)), [[1, [1, 3]], [0, [2]]], '#1');
2121
assert.deepEqual(
2222
from(groupByMap([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], it => `i${ it % 5 }`)),

tests/tests/esnext.array.group-by-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ QUnit.test('Array#groupByMap', assert => {
1818
assert.same(that, array, 'correct link to array in callback');
1919
assert.same(this, context, 'correct callback context');
2020
}, context);
21-
assert.ok([].groupByMap(it => it) instanceof Map, 'returns Map');
21+
assert.true([].groupByMap(it => it) instanceof Map, 'returns Map');
2222
assert.deepEqual(from([1, 2, 3].groupByMap(it => it % 2)), [[1, [1, 3]], [0, [2]]], '#1');
2323
assert.deepEqual(
2424
from([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].groupByMap(it => `i${ it % 5 }`)),

0 commit comments

Comments
 (0)