From 4f367d93301ac5bbbbab3124e46f78a45a6d12d0 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 19 Sep 2023 22:55:02 +0200 Subject: [PATCH] Fix another broken test on linux --- tests/test_examples.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_examples.rs b/tests/test_examples.rs index a5cdd4a..1141a7d 100644 --- a/tests/test_examples.rs +++ b/tests/test_examples.rs @@ -230,7 +230,7 @@ fn test_self_replace_through_symlink() { assert!(exe.is_file()); assert!(hello.is_file()); - assert!(exe_symlink.is_symlink()); + assert!(exe_symlink.metadata().unwrap().file_type().is_symlink()); run(RunOptions { path: &exe_symlink, @@ -240,7 +240,7 @@ fn test_self_replace_through_symlink() { }); assert!(exe.is_file()); assert!(hello.is_file()); - assert!(exe_symlink.is_symlink()); + assert!(exe_symlink.metadata().unwrap().file_type().is_symlink()); run(RunOptions { path: &exe_symlink, force_exit: false,