Browse Source

Remove double close

Laytan Laats 11 months ago
parent
commit
cca385209b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      tests/core/io/test_core_io.odin

+ 0 - 1
tests/core/io/test_core_io.odin

@@ -593,7 +593,6 @@ test_os2_file_stream :: proc(t: ^testing.T) {
 	if !testing.expectf(t, open_err == nil, "error on opening %q: %v", TEMPORARY_FILENAME, open_err) {
 	if !testing.expectf(t, open_err == nil, "error on opening %q: %v", TEMPORARY_FILENAME, open_err) {
 		return
 		return
 	}
 	}
-	defer testing.expect_value(t, os2.close(fd), nil)
 
 
 	stream := os2.to_stream(fd)
 	stream := os2.to_stream(fd)