Skip to content

Commit

Permalink
Remove deepStrictEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Jan 9, 2020
1 parent 18b8d91 commit e55646e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/events-once.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ function onceAnEventWithTwoArgs() {
});

return once(ee, 'myevent').then(function (value) {
assert.deepStrictEqual(value, [42, 24]);
assert.strictEqual(value.length, 2);
assert.strictEqual(value[0], 42);
assert.strictEqual(value[1], 24);
});
}

Expand Down

0 comments on commit e55646e

Please sign in to comment.