Update libc test

This commit is contained in:
Christoffer Lerno
2025-12-18 09:40:57 +01:00
committed by Christoffer Lerno
parent 97a9cab218
commit 29bcd2c96e

View File

@@ -212,7 +212,7 @@ fn void clock() @test
fn void close() @test @if(!env::WIN32)
{
assert(libc::close(13) == -1);
assert(libc::close(1313) != 0);
// NOTE: errno is part of libc, and is thus recursively imported
assert(libc::errno() == errno::EBADF);
}