Fix test message fopen2 (==>fopen1)
This commit is contained in:
@@ -322,7 +322,6 @@ section .rodata
|
||||
addTest(fexist1, "fexist(''testfile_1.txt'')")
|
||||
addTest(fopen1, "fp1 = fopen(''testfile_1.txt'', 'w')")
|
||||
addTest(fclose1, "fclose(fp1)")
|
||||
addTest(fexist2, "fexist(''testfile_2.txt'')")
|
||||
file1 db "testfile_1.txt",EOS
|
||||
|
||||
section .bss
|
||||
@@ -1147,7 +1146,7 @@ _start:
|
||||
call fclose
|
||||
assert_eq(0)
|
||||
|
||||
printTest(fexist2)
|
||||
printTest(fexist1)
|
||||
lea rdi, [rel file1]
|
||||
call fexist
|
||||
assert_eq(1)
|
||||
|
Reference in New Issue
Block a user