fix macro by denying trailing slashes. also other stuff
This commit is contained in:
@@ -15,7 +15,7 @@ unsafe fn test_path_open_create_existing(dir_fd: wasi::Fd) {
|
||||
)
|
||||
.expect_err("trying to create a file that already exists")
|
||||
.raw_error(),
|
||||
wasi::ERRNO_EXIST,
|
||||
wasi::ERRNO_EXIST
|
||||
);
|
||||
wasi::path_unlink_file(dir_fd, "file").expect("removing a file");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user