Skip to content

Commit

Permalink
update testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
jongha committed Dec 10, 2013
1 parent aed9021 commit 1c0096a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion report/coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h2>
</div>
</div>
<div class="footer">
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Dec 10 2013 09:30:26 GMT+0900 (대한민국 표준시)</div>
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Tue Dec 10 2013 09:36:20 GMT+0900 (대한민국 표준시)</div>
</div>

<script src="prettify.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions test/sort.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
data = data_rand.slice(0);
data.bubble({ order: 'asc' });
for(i=1; i<data.length; ++i) {
equal(data[i-1] <= data[i], true);
ok(data[i-1] <= data[i], 'Bubble sort asc fails');
}

data = data_rand.slice(0);
data.bubble({ order: 'desc' });
for(i=1; i<data.length; ++i) {
equal(data[i-1] >= data[i], true);
ok(data[i-1] >= data[i], 'Bubble sort desc fails');
}
});
}(jQuery));

0 comments on commit 1c0096a

Please sign in to comment.