From fc5c4f988870f3336f6d0b7a793b69f9d4855efe Mon Sep 17 00:00:00 2001 From: caojiafeng Date: Tue, 23 Nov 2021 12:52:43 +0800 Subject: [PATCH] fix test --- .../tests/testsuite/u256/test_u256_gas.move | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/vm/functional-tests/tests/testsuite/u256/test_u256_gas.move b/vm/functional-tests/tests/testsuite/u256/test_u256_gas.move index 88b27e732d..f14117f9b4 100644 --- a/vm/functional-tests/tests/testsuite/u256/test_u256_gas.move +++ b/vm/functional-tests/tests/testsuite/u256/test_u256_gas.move @@ -6,7 +6,8 @@ script { } } -//check: "gas_used: 31743" +// check: gas_used +// check: 31743 //! new-transaction @@ -19,7 +20,8 @@ script { } -//check: "gas_used: 31709" +//check: gas_used +// check: 31709 //! new-transaction @@ -30,7 +32,8 @@ script { } } -// check: "gas_used: 28804" +// check: gas_used +// check: 28804 //! new-transaction @@ -41,7 +44,8 @@ script { let _ = U256::from_little_endian(Vector::singleton(1u8)); } } -// check: "gas_used: 24514" +// check: gas_used +// check: 31329 //! new-transaction script { @@ -54,7 +58,7 @@ script { } } // check: gas_used -// check: 182112 +// check: 62764 @@ -69,7 +73,7 @@ script { } } // check: gas_used -// check: 183488 +// check: 62764 @@ -99,6 +103,6 @@ script { } } // check: gas_used -// check: 62768 +// check: 62770