Skip to content

Commit

Permalink
fix chain id in test
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan authored and elmato committed Jul 9, 2024
1 parent 8fdf3f2 commit 94464ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/init_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 94464ec

Please sign in to comment.