You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/01/25 02:16:13 UTC
[incubator-nlpcraft] branch NLPCRAFT-226 updated: Update
NCSqlGeneratorSpec.scala
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-226
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-226 by this push:
new 1b2e99c Update NCSqlGeneratorSpec.scala
1b2e99c is described below
commit 1b2e99cddd61b7520963ea94f371645cf5cddf73
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sun Jan 24 18:15:31 2021 -0800
Update NCSqlGeneratorSpec.scala
---
.../org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala b/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala
index 5fa33cd..8d4e0e3 100644
--- a/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala
+++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlGeneratorSpec.scala
@@ -60,12 +60,11 @@ class NCSqlGeneratorSpec {
@Test
def test(): Unit =
NCSqlModelGeneratorImpl.process(
- repl = false,
Array(
- "--url", SqlServer.H2_URL,
- "--driver", "org.h2.Driver",
- "--schema", "PUBLIC",
- "--out", PATH
+ s"--url=${SqlServer.H2_URL}",
+ s"--driver=org.h2.Driver",
+ s"--schema=PUBLIC",
+ s"--out=$PATH"
)
)
}