diff --git a/lab1/main_test.js b/lab1/main_test.js index 8433371c..f4780162 100644 --- a/lab1/main_test.js +++ b/lab1/main_test.js @@ -19,7 +19,7 @@ test("Test MyClass's getStudentById", () => { student.setName('John'); const newStudentId = myClass.addStudent(student); assert.strictEqual(myClass.getStudentById(newStudentId), student); - assert.strictEqual(myClass.getStudentById(-1), null); + assert.strictEqual(myClass.getStudentById(-2), null); assert.strictEqual(myClass.getStudentById(2), null); // throw new Error("Test not implemented"); });