Skip to content

Commit

Permalink
fix: xdr update
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jan 10, 2024
1 parent 4695fa5 commit 124079c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion cmd/crates/soroban-spec-tools/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
4 changes: 1 addition & 3 deletions cmd/crates/soroban-test/tests/it/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,17 +188,15 @@ 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",
);

sandbox
.new_assert_cmd("config")
.current_dir(dir)
.arg("identity")
.arg("ls")
.assert()
Expand Down

0 comments on commit 124079c

Please sign in to comment.