Skip to content

Commit

Permalink
Add more test cases on MySQLServerVersion (apache#33423)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Oct 27, 2024
1 parent bee6ad4 commit cad6554
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@ void assertEqualTo() {
MySQLServerVersion actual = new MySQLServerVersion("5.6.6");
assertTrue(actual.greaterThanOrEqualTo(5, 6, 6));
}

@Test
void assertInvalidVersion() {
MySQLServerVersion actual = new MySQLServerVersion("");
assertTrue(actual.greaterThanOrEqualTo(0, 0, 0));
}
}

0 comments on commit cad6554

Please sign in to comment.