Repository: calcite
Updated Branches:
  refs/heads/master ac8d04ed9 -> a4844695b


Fix Windows test failure


Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/a4844695
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/a4844695
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/a4844695

Branch: refs/heads/master
Commit: a4844695becdca9c4342e56821ffc31d3ce78640
Parents: ac8d04e
Author: Julian Hyde <[email protected]>
Authored: Fri Nov 6 00:13:06 2015 -0800
Committer: Julian Hyde <[email protected]>
Committed: Fri Nov 6 00:13:06 2015 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/calcite/test/JdbcTest.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/a4844695/core/src/test/java/org/apache/calcite/test/JdbcTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/calcite/test/JdbcTest.java 
b/core/src/test/java/org/apache/calcite/test/JdbcTest.java
index 65d024c..9911d29 100644
--- a/core/src/test/java/org/apache/calcite/test/JdbcTest.java
+++ b/core/src/test/java/org/apache/calcite/test/JdbcTest.java
@@ -5526,23 +5526,23 @@ public class JdbcTest {
         .returns("EXPR$0=hel\n");
     // duplicate argument names
     with.query("values (\"adhoc\".my_left(\"n\" => 3, \"n\" => 2, \"s\" => 
'hello'))")
-        .throws_("Duplicate argument name 'n'\n");
+        .throws_("Duplicate argument name 'n'");
     // invalid argument names
     with.query("values (\"adhoc\".my_left(\"n\" => 3, \"m\" => 2, \"s\" => 
'h'))")
         .throws_("No match found for function signature "
-            + "MY_LEFT(n => <NUMERIC>, m => <NUMERIC>, s => <CHARACTER>)\n");
+            + "MY_LEFT(n => <NUMERIC>, m => <NUMERIC>, s => <CHARACTER>)");
     // missing arguments
     with.query("values (\"adhoc\".my_left(\"n\" => 3))")
-        .throws_("No match found for function signature MY_LEFT(n => 
<NUMERIC>)\n");
+        .throws_("No match found for function signature MY_LEFT(n => 
<NUMERIC>)");
     with.query("values (\"adhoc\".my_left(\"s\" => 'hello'))")
-        .throws_("No match found for function signature MY_LEFT(s => 
<CHARACTER>)\n");
+        .throws_("No match found for function signature MY_LEFT(s => 
<CHARACTER>)");
     // arguments of wrong type
     with.query("values (\"adhoc\".my_left(\"n\" => 'hello', \"s\" => 'x'))")
         .throws_("No match found for function signature "
-            + "MY_LEFT(n => <CHARACTER>, s => <CHARACTER>)\n");
+            + "MY_LEFT(n => <CHARACTER>, s => <CHARACTER>)");
     with.query("values (\"adhoc\".my_left(\"n\" => 1, \"s\" => 0))")
         .throws_("No match found for function signature "
-            + "MY_LEFT(n => <NUMERIC>, s => <NUMERIC>)\n");
+            + "MY_LEFT(n => <NUMERIC>, s => <NUMERIC>)");
   }
 
   /** Tests calling a user-defined function some of whose parameters are

Reply via email to