From 646742fdeac25f2b92b7295f2e6250adaf7f5c53 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Mon, 19 Dec 2022 12:49:59 +0100 Subject: Fix lints --- tests/raw.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/raw.rs') diff --git a/tests/raw.rs b/tests/raw.rs index 99d6661..f212f58 100644 --- a/tests/raw.rs +++ b/tests/raw.rs @@ -67,13 +67,11 @@ fn raw_mode_links_to_directories_end_with_raw_true( "doesn't end with ?raw=true" ); } else if class == "file" { - assert!(true); + return; } else { - println!( - "This node is a link and neither of class directory, root or file: {:?}", - node + panic!( + "This node is a link and neither of class directory, root or file: {node:?}" ); - assert!(false); } } } -- cgit v1.2.3