Skip to content

Commit

Permalink
update assertion messages
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Jan 15, 2024
1 parent 6a46e59 commit 8cfd914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,11 +582,11 @@ describe('assert', function () {

err(function () {
assert.isAsyncGeneratorFunction(async function() {}, 'blah');
}, "blah: expected [Function] to be a AsyncGeneratorFunction");
}, "blah: expected [AsyncFunction] to be a AsyncGeneratorFunction");

err(function () {
assert.isAsyncGeneratorFunction(function*() {}, 'blah');
}, "blah: expected [Function] to be a AsyncGeneratorFunction");
}, "blah: expected [GeneratorFunction] to be a AsyncGeneratorFunction");
})

it('isNotFunction', function () {
Expand Down

0 comments on commit 8cfd914

Please sign in to comment.