Skip to content

Commit

Permalink
Smoketest fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc committed Jan 19, 2024
1 parent 5cc472c commit ed1ddea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/bin/pcli/tests/network_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ fn lp_management() {
/// Address 0 swaps 1gm for 1penumbra.
/// Validate:
/// Address 0 has 99gm and some penumbra.
/// Address 1 has 1gm and 1000penumbra.
/// Address 1 has 1gm and 999penumbra.
fn swap() {
let tmpdir = load_wallet_into_tmpdir();

Expand Down Expand Up @@ -595,8 +595,8 @@ fn swap() {
)
// Address 0 has some penumbra.
.stdout(predicate::str::is_match(r"0\s*.*penumbra").unwrap())
// Address 1 has 1000penumbra.
.stdout(predicate::str::is_match(r"1\s*1000(\.[0-9]+)?penumbra").unwrap());
// Address 1 has 999penumbra.
.stdout(predicate::str::is_match(r"1\s*999(\.[0-9]+)?penumbra").unwrap());

// Address 1: swaps 1gm for 1penumbra.
let mut swap_cmd = Command::cargo_bin("pcli").unwrap();
Expand Down Expand Up @@ -634,8 +634,8 @@ fn swap() {
)
// Address 0 has some penumbra.
.stdout(predicate::str::is_match(r"0\s*.*penumbra").unwrap())
// Address 1 has 1000penumbra.
.stdout(predicate::str::is_match(r"1\s*1000(\.[0-9]+)?penumbra").unwrap());
// Address 1 has 999penumbra.
.stdout(predicate::str::is_match(r"1\s*999(\.[0-9]+)?penumbra").unwrap());

// Close and withdraw any existing liquidity positions.
let mut close_cmd = Command::cargo_bin("pcli").unwrap();
Expand Down

0 comments on commit ed1ddea

Please sign in to comment.