From 94464ec567304bd0b083f8a9f400e519713e9094 Mon Sep 17 00:00:00 2001 From: kayan Date: Sat, 6 Jul 2024 08:34:47 +0800 Subject: [PATCH] fix chain id in test --- tests/init_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/init_tests.cpp b/tests/init_tests.cpp index 04415aa8..55736d39 100644 --- a/tests/init_tests.cpp +++ b/tests/init_tests.cpp @@ -64,7 +64,7 @@ BOOST_FIXTURE_TEST_CASE(check_init, basic_evm_tester) try { eosio_assert_message_exception, [](const eosio_assert_message_exception& e) {return testing::expect_assert_message(e, "assertion failure with message: contract not initialized");}); - BOOST_REQUIRE_EXCEPTION(init(42), + BOOST_REQUIRE_EXCEPTION(init(0), eosio_assert_message_exception, [](const eosio_assert_message_exception& e) {return testing::expect_assert_message(e, "assertion failure with message: unknown chainid");}); init(15555);