Skip to content

Commit 2514035

Browse files
authored
Add untested cases to v13 (#400)
1 parent 122f0c5 commit 2514035

File tree

1 file changed

+6
-2
lines changed
  • gateway-messages/tests/versioning

1 file changed

+6
-2
lines changed

gateway-messages/tests/versioning/v13.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,15 @@ fn error_enums() {
142142
let expected = vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
143143
assert_serialized(&expected, &response);
144144

145-
let response: [UpdateError; 3] = [
145+
let response: [UpdateError; 7] = [
146146
UpdateError::BlockOutOfOrder,
147147
UpdateError::InvalidComponent,
148148
UpdateError::InvalidSlotIdForOperation,
149+
UpdateError::InvalidArchive,
150+
UpdateError::ImageMismatch,
151+
UpdateError::SignatureNotValidated,
152+
UpdateError::VersionNotSupported,
149153
];
150-
let expected = vec![27, 28, 29];
154+
let expected = vec![27, 28, 29, 30, 31, 32, 33];
151155
assert_serialized(&expected, &response);
152156
}

0 commit comments

Comments
 (0)