Skip to content

Commit 055e5c3

Browse files
authored
fix(tests): update block body regex in TestChainRPC (#2674)
1 parent 0008b59 commit 055e5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rpc/rpc_03-chain_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func TestChainRPC(t *testing.T) {
102102
}
103103
block.Block.Header.Digest.Logs = nil
104104
assert.Len(t, block.Block.Body, 1)
105-
const bodyRegex = `^0x280403000b[0-9a-z]{8}8101$`
105+
const bodyRegex = `^0x280403000b[0-9a-z]{8}8201$`
106106
assert.Regexp(t, bodyRegex, block.Block.Body[0])
107107
block.Block.Body = nil
108108

0 commit comments

Comments
 (0)