Skip to content

Commit

Permalink
Fix TestShell_ReplayBlocks test by fixing err message assert
Browse files Browse the repository at this point in the history
  • Loading branch information
ilija42 committed Sep 14, 2023
1 parent 575b15b commit 164bb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cmd/shell_remote_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func TestShell_ReplayBlocks(t *testing.T) {
require.NoError(t, set.Set("block-number", "42"))
require.NoError(t, set.Set("evm-chain-id", "12345678"))
c := cli.NewContext(nil, set, nil)
assert.ErrorContains(t, client.ReplayFromBlock(c), "chainID does not match any local chains")
assert.ErrorContains(t, client.ReplayFromBlock(c), "chain id does not match any local chains")

require.NoError(t, set.Set("evm-chain-id", "0"))
c = cli.NewContext(nil, set, nil)
Expand Down

0 comments on commit 164bb39

Please sign in to comment.