Skip to content

Commit

Permalink
Merge pull request #73 from lnkuiper/fix_test
Browse files Browse the repository at this point in the history
Update assertion now that error message has changed
  • Loading branch information
Mause authored Aug 27, 2024
2 parents b054746 + efe48e6 commit 33b4703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/duckdb/TestDuckDBJDBC.java
Original file line number Diff line number Diff line change
Expand Up @@ -3022,7 +3022,7 @@ public static void test_invalid_config() throws Exception {

String message = assertThrows(() -> DriverManager.getConnection(JDBC_URL, info), SQLException.class);

assertTrue(message.contains("Unrecognized configuration property \"invalid config name\""));
assertTrue(message.contains("The following options were not recognized: invalid config name"));
}

public static void test_valid_but_local_config_throws_exception() throws Exception {
Expand Down

0 comments on commit 33b4703

Please sign in to comment.