Skip to content

Commit fbea7e8

Browse files
committed
update test cases in main_test.js
1 parent 7e3f807 commit fbea7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lab1/main_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test("Test MyClass's getStudentById", () => {
1919
student.setName('John');
2020
const newStudentId = myClass.addStudent(student);
2121
assert.strictEqual(myClass.getStudentById(newStudentId), student);
22-
assert.strictEqual(myClass.getStudentById(-1), null);
22+
assert.strictEqual(myClass.getStudentById(-2), null);
2323
assert.strictEqual(myClass.getStudentById(2), null);
2424
// throw new Error("Test not implemented");
2525
});

0 commit comments

Comments
 (0)