Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaineHeffron committed Sep 3, 2024
1 parent e4039e5 commit ccba578
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions cmd/crates/soroban-test/tests/it/integration/cookbook.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use predicates::prelude::*;
use soroban_cli::config::network::passphrase::LOCAL;
use soroban_test::TestEnv;
use predicates::prelude::*;
use std::fs;
use std::path::PathBuf;

Expand Down Expand Up @@ -114,10 +114,9 @@ async fn run_command(
result
.code(predicates::ord::eq(0).or(predicates::ord::eq(1)))
.stderr(
predicate::str::is_empty().or(predicates::str::contains("Generated new key for").or(
predicates::str::contains("The identity")
.and(predicates::str::contains("already exists"))
))
predicate::str::is_empty().or(predicates::str::contains("Generated new key for")
.or(predicates::str::contains("The identity")
.and(predicates::str::contains("already exists")))),
);
} else if command.contains("contract invoke") {
result
Expand Down Expand Up @@ -167,7 +166,7 @@ async fn test_mdx_file(
contract_id,
bob_id,
native_id,
key_xdr
key_xdr,
)
.await?;
}
Expand Down

0 comments on commit ccba578

Please sign in to comment.