actually apply all messages.

This commit is contained in:
Raúl Kripalani 2020-08-26 16:48:47 +01:00 committed by GitHub
parent 6d1e711b2a
commit dabe14889d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ func executeMessageVector(t *testing.T, vector *schema.TestVector) {
driver := NewDriver(ctx, vector)
// Apply every message.
for i, m := range vector.ApplyMessages[:len(vector.ApplyMessages)-1] {
for i, m := range vector.ApplyMessages {
msg, err := types.DecodeMessage(m.Bytes)
if err != nil {
t.Fatalf("failed to deserialize message: %s", err)