From c8a8aa5c457aeffc74db7c29a6696a79f53d4245 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 14 Feb 2022 19:25:55 -0500 Subject: [PATCH] Fix fs_util test Was only running vendor tests mistakenly. --- cli/fs_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/fs_util.rs b/cli/fs_util.rs index fb87e3e10ce11b..2f10a523f4af7e 100644 --- a/cli/fs_util.rs +++ b/cli/fs_util.rs @@ -371,7 +371,7 @@ pub fn path_with_stem_suffix(path: &Path, suffix: &str) -> PathBuf { if let Some(ext) = path.extension().map(|f| f.to_string_lossy()) { return if file_stem.to_lowercase().ends_with(".d") { path.with_file_name(format!( - "{}_{}.{}.{}", + "{}{}.{}.{}", &file_stem[..file_stem.len() - ".d".len()], suffix, // maintain casing