Skip to content

Commit

Permalink
Fix unit tests to make them run on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates committed Nov 21, 2023
1 parent 66472eb commit 8a886a8
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package org.creekservice.internal.kafka.streams.test.extension.model;

import static java.lang.System.lineSeparator;
import static org.creekservice.api.kafka.metadata.KafkaTopicDescriptor.DEFAULT_CLUSTER_NAME;
import static org.creekservice.internal.kafka.streams.test.extension.model.ModelUtil.createParser;
import static org.hamcrest.MatcherAssert.assertThat;
Expand Down Expand Up @@ -253,9 +252,8 @@ void shouldThrowOnNoRecords() {
is(
"Cannot construct instance of"
+ " `org.creekservice.internal.kafka.streams.test.extension.model.TopicExpectation`,"
+ " problem: At least one record is required"
+ lineSeparator()
+ " at [Source: (StringReader); line: 4, column: 12]"));
+ " problem: At least one record is required\n"
+ " at [Source: (StringReader); line: 4, column: 12]"));
}

@Test
Expand Down

0 comments on commit 8a886a8

Please sign in to comment.