Skip to content

Commit 15879c9

Browse files
author
Ben Buckman
committed
require_string should use strictEqual (ok for existing and new tests)
1 parent aac1138 commit 15879c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports.require_number_pos = function require_number_pos(label) {
3737
exports.require_string = function require_string(str, label, callback) {
3838
return function (err, results) {
3939
assert.strictEqual(null, err, label + " expected string '" + str + "', got error: " + err);
40-
assert.equal(str, results, label + " " + str + " does not match " + results);
40+
assert.strictEqual(str, results, label + " " + str + " does not match " + results);
4141
if (typeof callback === 'function') callback();
4242
return true;
4343
};

0 commit comments

Comments
 (0)