Skip to content

Commit

Permalink
Merge branch 'main' into remove-keys-from-fee-estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio authored Sep 5, 2023
2 parents 592d60d + 62aaa3d commit b635399
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd/crates/soroban-test/tests/it/custom_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ fn generate_help() {
}

#[test]
fn multi_arg() {
fn multi_arg_failure() {
invoke(&TestEnv::default(), "multi_args")
.arg("--b")
.assert()
.success()
.failure()
.stderr("error: Missing argument a\n");
}

Expand Down Expand Up @@ -258,22 +258,22 @@ fn i32() {
}

#[test]
fn handle_arg_larger_than_i32() {
fn handle_arg_larger_than_i32_failure() {
invoke(&TestEnv::default(), "i32_")
.arg("--i32_")
.arg(u32::MAX.to_string())
.assert()
.success()
.failure()
.stderr(predicates::str::contains("value is not parseable"));
}

#[test]
fn handle_arg_larger_than_i64() {
fn handle_arg_larger_than_i64_failure() {
invoke(&TestEnv::default(), "i64_")
.arg("--i64_")
.arg(u64::MAX.to_string())
.assert()
.success()
.failure()
.stderr(predicates::str::contains("value is not parseable"));
}

Expand Down
1 change: 1 addition & 0 deletions cmd/soroban-cli/src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ async fn main() {

if let Err(e) = root.run().await {
eprintln!("error: {e}");
std::process::exit(1);
}
}

0 comments on commit b635399

Please sign in to comment.