Skip to content

Commit

Permalink
test: replace equal with strictEqual in test-freelist.js
Browse files Browse the repository at this point in the history
Improving asserts in test-freelist.js

PR-URL: #9910
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
edsadr authored and Fishrock123 committed Dec 6, 2016
1 parent fa38032 commit e502262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-freelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require('../common');
const assert = require('assert');
const freelist = require('internal/freelist');

assert.equal(typeof freelist, 'object');
assert.equal(typeof freelist.FreeList, 'function');
assert.strictEqual(typeof freelist, 'object');
assert.strictEqual(typeof freelist.FreeList, 'function');

const flist1 = new freelist.FreeList('flist1', 3, String);

Expand Down

0 comments on commit e502262

Please sign in to comment.