File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ test("Test MyClass's getStudentById", () => {
16
16
// TODO
17
17
const myClass = new MyClass ( ) ;
18
18
const student1 = new Student ( "John" ) ;
19
- const student2 = new Student ( "Alice " ) ;
20
- const student3 = new Student ( "Bob " ) ;
19
+ const student2 = new Student ( "Jane " ) ;
20
+ const student3 = new Student ( "Doe " ) ;
21
21
myClass . addStudent ( student1 ) ;
22
22
myClass . addStudent ( student2 ) ;
23
23
myClass . addStudent ( student3 ) ;
@@ -29,8 +29,8 @@ test("Test MyClass's getStudentById", () => {
29
29
test ( "Test Student's setName" , ( ) => {
30
30
// TODO
31
31
const student = new Student ( "John" ) ;
32
- student . setName ( "Alice " ) ;
33
- assert . strictEqual ( student . getName ( ) , "Alice " ) ;
32
+ student . setName ( "Smith " ) ;
33
+ assert . strictEqual ( student . getName ( ) , "Smith " ) ;
34
34
} ) ;
35
35
36
36
test ( "Test Student's getName" , ( ) => {
You can’t perform that action at this time.
0 commit comments