Skip to content

Commit

Permalink
Added missing final.
Browse files Browse the repository at this point in the history
  • Loading branch information
redcatbear committed Oct 27, 2023
1 parent d3f3553 commit 437b478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/exasol/matcher/RowMatcherIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void testMatchingInAnyOrderAndExpectingThreeColumnsThrowsAssertionErrorWhenResul
.row(1, "a", 1) //
.row(greaterThan(0), "b", 3) //
.matchesInAnyOrder();
AssertionError error = assertThrows(AssertionError.class,
final AssertionError error = assertThrows(AssertionError.class,
() -> anyOrderMatcher.matches(query("SELECT * FROM T")));
assertThat(error.getMessage(), startsWith("Row expectation definition 1 tries to validate the value of row 1, "
+ "column 3 but that value can't be read from the result set. "
Expand All @@ -56,7 +56,7 @@ void testMatchingInStrictOrderAndExpectingThreeColumnsThrowsAssertionErrorWhenRe
.row(1, "A", 1) //
.row(greaterThan(0), "B", 3) //
.matches();
AssertionError error = assertThrows(AssertionError.class,
final AssertionError error = assertThrows(AssertionError.class,
() -> orderedMatcher.matches(query("SELECT * FROM T")));
assertThat(error.getMessage(), startsWith("Row expectation definition 1 tries to validate the value of row 1, "
+ "column 3 but that value can't be read from the result set. "
Expand Down

0 comments on commit 437b478

Please sign in to comment.