This is an automated email from the ASF dual-hosted git repository.

zhenchen pushed a commit to branch revert-4501-calcite-7141
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 847860c05a074c8e696e9298ecfe4090eaef3043
Author: Zhen Chen <[email protected]>
AuthorDate: Sat Sep 6 19:58:47 2025 +0800

    Revert "Test exception messages"
    
    This reverts commit f5bcf6802f3175c97e6f707a9509c6cc28d7848e.
---
 .../test/java/org/apache/calcite/sql/type/FunctionSqlTypeTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/src/test/java/org/apache/calcite/sql/type/FunctionSqlTypeTest.java 
b/core/src/test/java/org/apache/calcite/sql/type/FunctionSqlTypeTest.java
index 9c58170cd8..d9bc5e0c9d 100644
--- a/core/src/test/java/org/apache/calcite/sql/type/FunctionSqlTypeTest.java
+++ b/core/src/test/java/org/apache/calcite/sql/type/FunctionSqlTypeTest.java
@@ -46,13 +46,13 @@ public class FunctionSqlTypeTest {
   @Test void testFailsOnNullParameterType() {
     assertThrows(NullPointerException.class, () -> {
       new FunctionSqlType(null, returnType);
-    }, "parameterType");
+    });
   }
 
   @Test void testFailsOnNonStructParameterType() {
     assertThrows(IllegalArgumentException.class, () -> {
       new FunctionSqlType(nonStructParameterType, returnType);
-    }, "ParameterType must be a struct");
+    });
   }
 
   @Test void testFailsOnNullReturnType() {

Reply via email to