diff options
author | Harald Musum <musum@yahooinc.com> | 2023-06-12 07:28:39 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-06-12 07:28:39 +0200 |
commit | 2b12a4f3694b6fbe3e40928055264717feb244bf (patch) | |
tree | 10e758c9cfdc1f5acb8cc6a63b351e691f1c7327 /config-model | |
parent | f6b7a9cf3eaf282047d844fd7e7ae276b39900be (diff) |
Minor cleanup of RuleImporter
Use actual rule name instead of 'semantic-rules.cfg'
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/container/search/SemanticRulesTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/container/search/SemanticRulesTest.java b/config-model/src/test/java/com/yahoo/vespa/model/container/search/SemanticRulesTest.java index e20e14f9465..da6e055724a 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/container/search/SemanticRulesTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/container/search/SemanticRulesTest.java @@ -50,7 +50,7 @@ public class SemanticRulesTest { new SemanticRuleBuilder().build(FilesApplicationPackage.fromFile(new File(rootWithErrors))); fail("should fail with exception"); } catch (Exception e) { - assertEquals("com.yahoo.prelude.semantics.parser.ParseException: Could not parse 'semantic-rules.cfg'", e.getMessage()); + assertEquals("com.yahoo.prelude.semantics.parser.ParseException: Could not parse rule 'invalid'", e.getMessage()); } } |