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

mbudiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/main by this push:
     new 56eb062ba2 [CALCITE-6131] There are duplicate sample tests in 
SqlTypeUtilTest
56eb062ba2 is described below

commit 56eb062ba2eae239e9fdda6891830cf2ec60b605
Author: caicancai <[email protected]>
AuthorDate: Sun Dec 10 20:37:27 2023 +0800

    [CALCITE-6131] There are duplicate sample tests in SqlTypeUtilTest
---
 core/src/test/java/org/apache/calcite/sql/type/SqlTypeUtilTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/src/test/java/org/apache/calcite/sql/type/SqlTypeUtilTest.java 
b/core/src/test/java/org/apache/calcite/sql/type/SqlTypeUtilTest.java
index c72414c04c..e918da54a2 100644
--- a/core/src/test/java/org/apache/calcite/sql/type/SqlTypeUtilTest.java
+++ b/core/src/test/java/org/apache/calcite/sql/type/SqlTypeUtilTest.java
@@ -76,7 +76,7 @@ class SqlTypeUtilTest {
         is(true));
     assertThat(areSameFamily(ImmutableList.of(bigIntAndFloat, bigIntAndFloat)),
         is(true));
-    assertThat(areSameFamily(ImmutableList.of(bigIntAndFloat, bigIntAndFloat)),
+    assertThat(areSameFamily(ImmutableList.of(floatAndBigInt, bigIntAndFloat)),
         is(true));
     assertThat(areSameFamily(ImmutableList.of(floatAndBigInt, floatAndBigInt)),
         is(true));

Reply via email to