Skip to content

Commit

Permalink
fixup! test case
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Apr 24, 2022
1 parent 1ebb999 commit 4762978
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/parallel/test-performance-function.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ const {
const n = performance.timerify(m);
const o = performance.timerify(m);
const p = performance.timerify(n);
assert.strictEqual(n, o);
assert.strictEqual(n, p);
assert.notStrictEqual(n, o);
assert.notStrictEqual(n, p);
assert.strictEqual(n.length, m.length);
assert.strictEqual(o.length, m.length);
assert.strictEqual(p.length, m.length);
assert.strictEqual(n.name, 'timerified m');
}

Expand Down

0 comments on commit 4762978

Please sign in to comment.