diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-12-19 11:49:59 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-12-19 11:49:59 +0000 |
commit | 646742fdeac25f2b92b7295f2e6250adaf7f5c53 (patch) | |
tree | 6788656eef9f0b9049ad6d90bbb8cb72296412c7 /tests/raw.rs | |
parent | Bump deps (diff) | |
download | miniserve-646742fdeac25f2b92b7295f2e6250adaf7f5c53.tar.gz miniserve-646742fdeac25f2b92b7295f2e6250adaf7f5c53.zip |
Fix lints
Diffstat (limited to 'tests/raw.rs')
-rw-r--r-- | tests/raw.rs | 8 |
1 files changed, 3 insertions, 5 deletions
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); } } } |