diff --git a/src/tests.asm b/src/tests.asm index 513cf02..98893ee 100644 --- a/src/tests.asm +++ b/src/tests.asm @@ -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)