Skip to content

Commit

Permalink
Fix smoketest breakage from 3634
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc authored and conorsch committed Jan 19, 2024
1 parent 9f87e23 commit d00d99f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 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 999penumbra.
/// Address 1 has 1gm and 1000penumbra.
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 999penumbra.
.stdout(predicate::str::is_match(r"1\s*999(\.[0-9]+)?penumbra").unwrap());
// Address 1 has 1000penumbra.
.stdout(predicate::str::is_match(r"1\s*1000(\.[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 999penumbra.
.stdout(predicate::str::is_match(r"1\s*999(\.[0-9]+)?penumbra").unwrap());
// Address 1 has 1000penumbra.
.stdout(predicate::str::is_match(r"1\s*1000(\.[0-9]+)?penumbra").unwrap());

// Close and withdraw any existing liquidity positions.
let mut close_cmd = Command::cargo_bin("pcli").unwrap();
Expand Down Expand Up @@ -682,8 +682,8 @@ fn swap() {
.stdout(predicate::str::is_match(r"1\s*1gm").unwrap())
// Address 0 has some penumbra.
.stdout(predicate::str::is_match(r"0\s*.*penumbra").unwrap())
// Address 1 has 999penumbra.
.stdout(predicate::str::is_match(r"1\s*999(\.[0-9]+)?penumbra").unwrap());
// Address 1 has 1000penumbra.
.stdout(predicate::str::is_match(r"1\s*1000(\.[0-9]+)?penumbra").unwrap());
}

// Note: As part of #2589, we changed the way DEX calculations are performed. In particular,
Expand Down

0 comments on commit d00d99f

Please sign in to comment.