mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 00:00:49 +00:00
fix tests
This commit is contained in:
parent
e59e57d8a5
commit
12b53a48ad
@ -348,7 +348,7 @@ mod open_test {
|
||||
let fd_3 = open_result_3.unwrap();
|
||||
assert!(fd_3 > 0, "File descriptor was less than 0.");
|
||||
|
||||
let close_result = vfs.close(fd_3);
|
||||
let close_result = vfs.close(&fd_3);
|
||||
assert!(close_result.is_ok(), "Close failed.");
|
||||
|
||||
// re-open the file, assert the file descriptor is the same
|
||||
@ -365,7 +365,7 @@ mod open_test {
|
||||
);
|
||||
|
||||
// close a lower file descriptor
|
||||
let close_result_2 = vfs.close(fd_1);
|
||||
let close_result_2 = vfs.close(&fd_1);
|
||||
assert!(close_result_2.is_ok(), "Close failed");
|
||||
|
||||
// re-open the file, assert the file descriptor is the same
|
||||
|
Loading…
x
Reference in New Issue
Block a user