diff --git a/cmd/crates/soroban-spec-tools/src/contract.rs b/cmd/crates/soroban-spec-tools/src/contract.rs index 7543b5462c..9ab23e59a1 100644 --- a/cmd/crates/soroban-spec-tools/src/contract.rs +++ b/cmd/crates/soroban-spec-tools/src/contract.rs @@ -265,7 +265,11 @@ fn indent(s: &str, n: usize) -> String { fn format_name(lib: &StringM<80>, name: &StringM<60>) -> String { if lib.len() > 0 { - format!("{}::{}", lib.to_utf8_string_lossy(), name.to_utf8_string_lossy()) + format!( + "{}::{}", + lib.to_utf8_string_lossy(), + name.to_utf8_string_lossy() + ) } else { name.to_utf8_string_lossy() } diff --git a/cmd/crates/soroban-test/tests/it/config.rs b/cmd/crates/soroban-test/tests/it/config.rs index a0a240af18..eb9494a1a3 100644 --- a/cmd/crates/soroban-test/tests/it/config.rs +++ b/cmd/crates/soroban-test/tests/it/config.rs @@ -188,9 +188,8 @@ fn generate_identity() { #[test] fn seed_phrase() { let sandbox = TestEnv::default(); - let dir = sandbox.dir(); add_identity( - dir, + sandbox.dir(), "test_seed", SecretKind::Seed, "one two three four five six seven eight nine ten eleven twelve", @@ -198,7 +197,6 @@ fn seed_phrase() { sandbox .new_assert_cmd("config") - .current_dir(dir) .arg("identity") .arg("ls") .assert()