Skip to content

Commit

Permalink
update assertion now that error message has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Aug 26, 2024
1 parent 68d5670 commit efe48e6
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 efe48e6

Please sign in to comment.