You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2018/08/31 20:56:26 UTC

calcite git commit: [CALCITE-1026] Fix ModelTest#testYamlFileDetection when source folder has spaces

Repository: calcite
Updated Branches:
  refs/heads/master 370e95ab8 -> 29a925a62


[CALCITE-1026] Fix ModelTest#testYamlFileDetection when source folder has spaces


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

Branch: refs/heads/master
Commit: 29a925a62ed4a2b5855dd1d8ba296455433d32ad
Parents: 370e95a
Author: Vladimir Sitnikov <si...@gmail.com>
Authored: Fri Aug 31 23:56:20 2018 +0300
Committer: Vladimir Sitnikov <si...@gmail.com>
Committed: Fri Aug 31 23:56:20 2018 +0300

----------------------------------------------------------------------
 core/src/test/java/org/apache/calcite/test/ModelTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/29a925a6/core/src/test/java/org/apache/calcite/test/ModelTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/calcite/test/ModelTest.java b/core/src/test/java/org/apache/calcite/test/ModelTest.java
index 7940a0d..eb19dcc 100644
--- a/core/src/test/java/org/apache/calcite/test/ModelTest.java
+++ b/core/src/test/java/org/apache/calcite/test/ModelTest.java
@@ -374,7 +374,7 @@ public class ModelTest {
   @Test public void testYamlFileDetection() throws Exception {
     final URL inUrl = ModelTest.class.getResource("/empty-model.yaml");
     CalciteAssert.that()
-        .with(CalciteConnectionProperty.MODEL, inUrl.getFile())
+        .withModel(inUrl)
         .doWithConnection(calciteConnection -> null);
   }
 }