Skip to content

Commit 842c217

Browse files
authored
Merge pull request #93 from canjs/fix-test-to-qunit
Fix a test to qunti2
2 parents 90674e5 + ceb5d6f commit 842c217

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

can-list_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -643,13 +643,13 @@ QUnit.test('list.sort a list of objects without losing reference (#137)', functi
643643
assert.equal(unSorted[0], sorted[2], 'items should be equal');
644644
});
645645

646-
QUnit.test("list receives patch events", function() {
647-
QUnit.expect(2);
646+
QUnit.test("list receives patch events", function(assert) {
647+
assert.expect(2);
648648
var list = new List([]);
649649

650650
function handler(patches) {
651651
if(patches[0].index === 0 && patches[0].insert) {
652-
QUnit.ok(true);
652+
assert.ok(true);
653653
}
654654
}
655655
canReflect.onPatches(list, handler);

0 commit comments

Comments
 (0)