From fdef1ed7b67aebcaf360f55746c02486f65429fa Mon Sep 17 00:00:00 2001 From: Kwarde Date: Sat, 26 Jul 2025 00:21:37 +0200 Subject: [PATCH] fwrite test 4: do not reopen file --- src/tests.asm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tests.asm b/src/tests.asm index 94797d2..47cff5c 100644 --- a/src/tests.asm +++ b/src/tests.asm @@ -1200,14 +1200,6 @@ _start: call fwrite assert_eq(18) - ; Re-open in write mode, again - mov rdi, [fp1] - call fclose - lea rdi, [rel file1] - mov rsi, 'w' - call fopen - mov [fp1], rax - ; TEST 4 printTest(fwrite4) mov rdi, [fp1]