This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-474
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-474 by this push:
new 0c1a7bd WIP
0c1a7bd is described below
commit 0c1a7bd9df6d233a3ca94ae19b7c93f49785c928
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Jan 25 11:36:39 2022 -0800
WIP
---
.../internal/intent/compiler/functions/NCIdlFunctionsMeta.scala | 2 +-
.../internal/intent/compiler/functions/NCIdlFunctionsOther.scala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsMeta.scala
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsMeta.scala
index b4e7d3c..42ceb40 100644
---
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsMeta.scala
+++
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsMeta.scala
@@ -73,7 +73,7 @@ class NCIdlFunctionsMeta extends NCIdlFunctions:
// Simplified test.
@Test
- def testMetaModel(): Unit = testNoValue("meta_model", mkIdlContext())
+ def testMetaConfig(): Unit = testNoValue("meta_cfg", mkIdlContext())
// Simplified test.
@Test
diff --git
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsOther.scala
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsOther.scala
index c7e57ad..2bf4ada 100644
---
a/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsOther.scala
+++
b/nlpcraft/src/test/scala/org/apache/nlpcraft/internal/intent/compiler/functions/NCIdlFunctionsOther.scala
@@ -35,7 +35,7 @@ class NCIdlFunctionsOther extends NCIdlFunctions:
TestDesc(truth = "if(false, 1, 0) == 0"),
TestDesc(truth = "or_else(null, false) == false"),
TestDesc(truth = "or_else('s', list(1, 2, 3)) == 's'"),
- TestDesc(truth = "or_else(meta_model('unknown_prop'), list(1, 2,
3)) == list(1, 2, 3)")
+ TestDesc(truth = "or_else(meta_cfg('unknown_prop'), list(1, 2, 3))
== list(1, 2, 3)")
)
@Test