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 <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
edsadr authored and addaleax committed Dec 8, 2016
1 parent 5afcf3a commit bc3b77f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-freelist.js
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 bc3b77f

Please sign in to comment.