Use strict equalities in test/unit/{function_spec, stream_spec, testreporter}.js

This commit is contained in:
Tim van der Meij 2014-07-31 23:08:15 +02:00
parent e525902241
commit b0349cd184
3 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ describe('stream', function() {
this.addMatchers({
toMatchTypedArray: function(expected) {
var actual = this.actual;
if (actual.length != expected.length) {
if (actual.length !== expected.length) {
return false;
}
for (var i = 0, ii = expected.length; i < ii; i++) {