This commit is contained in:
Phillip Webb
2022-02-16 17:56:07 -08:00
parent fa6a1463d0
commit 9ab1b669d0
5 changed files with 36 additions and 33 deletions

View File

@@ -57,8 +57,7 @@ class LogUpdateEventTests {
void readSucceedsWhenStreamTypeIsInvalid() throws IOException {
List<LogUpdateEvent> events = readAll("log-update-event-invalid-stream-type.stream");
assertThat(events).hasSize(1);
assertThat(events.get(0).toString())
.isEqualTo("Stream type is out of bounds. Must be >= 0 and < 3, but was 3. Will abort parsing.");
assertThat(events.get(0).toString()).isEqualTo("Stream type is out of bounds. Must be >= 0 and < 3, but was 3");
}
private List<LogUpdateEvent> readAll(String name) throws IOException {