We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3f807 commit fbea7e8Copy full SHA for fbea7e8
lab1/main_test.js
@@ -19,7 +19,7 @@ test("Test MyClass's getStudentById", () => {
19
student.setName('John');
20
const newStudentId = myClass.addStudent(student);
21
assert.strictEqual(myClass.getStudentById(newStudentId), student);
22
- assert.strictEqual(myClass.getStudentById(-1), null);
+ assert.strictEqual(myClass.getStudentById(-2), null);
23
assert.strictEqual(myClass.getStudentById(2), null);
24
// throw new Error("Test not implemented");
25
});
0 commit comments