Skip to content

Commit

Permalink
fix(tests): update block body regex in TestChainRPC (#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jul 18, 2022
1 parent 0008b59 commit 055e5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rpc/rpc_03-chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func TestChainRPC(t *testing.T) {
}
block.Block.Header.Digest.Logs = nil
assert.Len(t, block.Block.Body, 1)
const bodyRegex = `^0x280403000b[0-9a-z]{8}8101$`
const bodyRegex = `^0x280403000b[0-9a-z]{8}8201$`
assert.Regexp(t, bodyRegex, block.Block.Body[0])
block.Block.Body = nil

Expand Down

0 comments on commit 055e5c3

Please sign in to comment.