Update wasi-tests to wasi 0.11. (#5488)
This updates the tests to version 0.11 of the wasi bindings. There aren't any fundamental changes here; this just syncs up with the latest version so that it's consistent with other users of the wasi APIs.
This commit is contained in:
@@ -13,8 +13,7 @@ unsafe fn test_path_open_create_existing(dir_fd: wasi::Fd) {
|
||||
0,
|
||||
0,
|
||||
)
|
||||
.expect_err("trying to create a file that already exists")
|
||||
.raw_error(),
|
||||
.expect_err("trying to create a file that already exists"),
|
||||
wasi::ERRNO_EXIST
|
||||
);
|
||||
wasi::path_unlink_file(dir_fd, "file").expect("removing a file");
|
||||
|
||||
Reference in New Issue
Block a user