We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7a0a3b commit d5c7c9fCopy full SHA for d5c7c9f
tests/fixtures/main.rs
@@ -14,7 +14,7 @@ fn main() {
14
}
15
16
fn setup(input_path: std::path::PathBuf) -> tryfn::Case {
17
- let name = input_path.file_name().unwrap().to_str().unwrap().to_owned();
+ let name = input_path.file_stem().unwrap().to_str().unwrap().to_owned();
18
let expected = Data::read_from(&input_path.with_extension("svg"), None);
19
tryfn::Case {
20
name,
0 commit comments