From 4451fbeeb93e4702f3ce97b4a9cbf81bcdb1dfbd Mon Sep 17 00:00:00 2001 From: Zoraaver Singh Date: Mon, 18 Sep 2023 15:16:02 +0100 Subject: [PATCH] Fix filename in stdio.rs --- tests/rust/src/bin/stdio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rust/src/bin/stdio.rs b/tests/rust/src/bin/stdio.rs index 2e3df469..c959045c 100644 --- a/tests/rust/src/bin/stdio.rs +++ b/tests/rust/src/bin/stdio.rs @@ -15,7 +15,7 @@ unsafe fn test_stdio(dir_fd: wasi::Fd) { wasi::fd_fdstat_get(*stdio_from_fd).expect_err("stdio_from_fd is not closed"); // Cleanup - wasi::path_unlink_file(dir_fd, "file").expect("failed to remove file"); + wasi::path_unlink_file(dir_fd, TEST_FILENAME).expect("failed to remove file"); } }