Skip to content

Commit 6388c0b

Browse files
committed
fix: use underscore as separator and renaming variable, #5930
1 parent 00aa571 commit 6388c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackslib/src/net/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,10 +2877,10 @@ pub mod test {
28772877
pub fn test_path(config: &TestPeerConfig) -> String {
28782878
let random = thread_rng().gen::<u64>();
28792879
let random_bytes = to_hex(&random.to_be_bytes());
2880-
let multi_os_friendly_name = config.test_name.replace("::", ".");
2880+
let cleaned_config_test_name = config.test_name.replace("::", "_");
28812881
format!(
28822882
"/tmp/stacks-node-tests/units-test-peer/{}-{}",
2883-
&multi_os_friendly_name, random_bytes
2883+
&cleaned_config_test_name, random_bytes
28842884
)
28852885
}
28862886

0 commit comments

Comments
 (0)