Fix test message fopen2 (==>fopen1)

This commit is contained in:
2025-07-25 12:01:43 +02:00
parent 1fac6f92ef
commit 31bda18649

View File

@@ -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)