Permalink
Browse files

Fixed a test bug

  • Loading branch information...
1 parent 17f69f4 commit 4c557d186f92d1fbcf4fbbad5c5b4ac9e660ca62 @shalecraig shalecraig committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/zepto.html
View
@@ -287,7 +287,7 @@
if (typeof expected.get == 'function') expected = expected.get()
if (typeof actual.get == 'function') actual = actual.get()
- if (passed) for (var i=0; i<expected.length; i++) passed = expected[i] == actual[i]
+ if (passed) for (var i=0; i<expected.length; i++) passed &= expected[i] == actual[i];
this._assertExpression(passed, message || 'Failed assertion.',
'Expected %o, got %o.', expected, actual)

0 comments on commit 4c557d1

Please sign in to comment.