From deb1ee7fd695426e03735fd70b5c54bf900aa761 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Sun, 24 Sep 2023 10:25:39 -0400 Subject: [PATCH] fix(CLI): ignore the expiration in contract_read test --- 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]