Skip to content

Commit 2ab48b2

Browse files
committed
assert.true(true) - > assert.require()
1 parent e4e5f29 commit 2ab48b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit-pure/es.promise.try.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ QUnit.test('Promise.try, rejected', assert => {
2626
}).then(() => {
2727
assert.avoid();
2828
}, () => {
29-
assert.true(true, 'rejected as expected');
29+
assert.required('rejected as expected');
3030
});
3131
});
3232

tests/unit-pure/esnext.async-iterator.reduce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ QUnit.test('AsyncIterator#reduce', assert => {
4444
}).then(() => {
4545
return reduce.call(createIterator([]), (a, b) => a + b);
4646
}).catch(() => {
47-
assert.true(true, 'reduce an empty iterable with no initial');
47+
assert.required('reduce an empty iterable with no initial');
4848
return reduce.call(createIterator([1]), () => { throw 42; }, 1);
4949
}).then(() => {
5050
assert.avoid();

0 commit comments

Comments
 (0)