From efe48e69bf933611be0dddcb8ba82916a1a42b43 Mon Sep 17 00:00:00 2001 From: Laurens Kuiper Date: Mon, 26 Aug 2024 12:39:42 +0200 Subject: [PATCH] update assertion now that error message has changed --- src/test/java/org/duckdb/TestDuckDBJDBC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/duckdb/TestDuckDBJDBC.java b/src/test/java/org/duckdb/TestDuckDBJDBC.java index 158d79e4..6fc1907a 100644 --- a/src/test/java/org/duckdb/TestDuckDBJDBC.java +++ b/src/test/java/org/duckdb/TestDuckDBJDBC.java @@ -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 {