Skip to content

Commit

Permalink
Replace wrong order of assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Nov 29, 2024
1 parent 7c7b4ba commit b259997
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void testFilterAndRemovePrefix() {

Properties actual = JdbcUtil.filterAndRemovePrefix(input, "jdbc.");

assertThat(expected).isEqualTo(actual);
assertThat(actual).isEqualTo(expected);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void newInputFile() throws IOException {
IOUtil.readFully(is, actual, 0, actual.length);
}

assertThat(expected).isEqualTo(actual);
assertThat(actual).isEqualTo(expected);

io.deleteFile(in);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2054,9 +2054,9 @@ public void testFilesTablePartitionId() {
.map(r -> (Integer) r.getAs(DataFile.SPEC_ID.name()))
.collect(Collectors.toList());

assertThat(ImmutableList.of(spec0, spec1))
assertThat(actual)
.as("Should have two partition specs")
.isEqualTo(actual);
.isEqualTo(ImmutableList.of(spec0, spec1));
}

@Test
Expand Down

0 comments on commit b259997

Please sign in to comment.