mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Remove double close
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user