From 365b184cfacf48f7e8b27c451f01721fb1a00e4d Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Sun, 24 Sep 2023 12:27:44 -0400 Subject: [PATCH] fix(CLI): ignore the expiration in contract_read test (#988) --- cmd/crates/soroban-test/tests/it/integration_and_sandbox.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/crates/soroban-test/tests/it/integration_and_sandbox.rs b/cmd/crates/soroban-test/tests/it/integration_and_sandbox.rs index 0beff5a78..5536966c5 100644 --- a/cmd/crates/soroban-test/tests/it/integration_and_sandbox.rs +++ b/cmd/crates/soroban-test/tests/it/integration_and_sandbox.rs @@ -128,7 +128,7 @@ fn contract_data_read() { .arg("--durability=persistent") .assert() .success() - .stdout("COUNTER,1,4096\n"); + .stdout(predicates::str::starts_with("COUNTER,1")); sandbox .new_assert_cmd("contract") @@ -149,7 +149,7 @@ fn contract_data_read() { .arg("--durability=persistent") .assert() .success() - .stdout("COUNTER,2,4096\n"); + .stdout(predicates::str::starts_with("COUNTER,2")); } #[test]