Skip to content

Commit

Permalink
Change SelectStatementHandler mysql test
Browse files Browse the repository at this point in the history
  • Loading branch information
zihaoAK47 committed Oct 29, 2023
1 parent 8bd6f59 commit 57b11ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ void assertGetWithSegmentForMysql() {
Optional<WithSegment> withSegment = SelectStatementHandler.getWithSegment(selectStatement);
assertTrue(withSegment.isPresent());
assertThat(withSegment.get(), is(selectStatement.getWithSegment().get()));
assertFalse(SelectStatementHandler.getWithSegment(new OracleSelectStatement()).isPresent());
assertFalse(SelectStatementHandler.getWithSegment(new MySQLSelectStatement()).isPresent());
}

@Test
Expand Down

0 comments on commit 57b11ac

Please sign in to comment.