Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing tabbing for the compareArrays function

  • Loading branch information...
commit 1f6e8332872665e81a87aba3d9aed68478cbd77b 1 parent 26b3832
@kristopher kristopher authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 lib/smoke.mock.js
View
16 lib/smoke.mock.js
@@ -139,13 +139,13 @@ Smoke.Mock.Expectation.prototype = {
return c;
},
compareArrays: function(a,b) {
- if (a.length != b.length) return false;
- for (var i = 0; i < b.length; i++) {
- if (a[i].compare) {
- if (!a[i].compare(b[i])) return false;
- }
- if (a[i] !== b[i]) return false;
- }
- return true;
+ if (a.length != b.length) return false;
+ for (var i = 0; i < b.length; i++) {
+ if (a[i].compare) {
+ if (!a[i].compare(b[i])) return false;
+ }
+ if (a[i] !== b[i]) return false;
+ }
+ return true;
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.