diff options
author | Harald Musum <musum@yahooinc.com> | 2023-06-10 10:07:32 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-06-10 10:07:32 +0200 |
commit | 7f13594d6595b81a291018f902c438d3aaea057b (patch) | |
tree | 9b7d5fc7c0dc27469795cebcbe45a16592450573 /config-model/src/test | |
parent | 3d16727641d36fcdad5d5850735c61bd82faa10a (diff) |
Make error message deterministic by sorting rule names
Diffstat (limited to 'config-model/src/test')
-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 f0e28f9df09..e20e14f9465 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 @@ -60,7 +60,7 @@ public class SemanticRulesTest { new SemanticRuleBuilder().build(FilesApplicationPackage.fromFile(new File(rootWithDuplicateDefault))); fail("should fail with exception"); } catch (Exception e) { - assertEquals("Both 'one' and 'other' is marked as default rule, there can only be one", e.getMessage()); + assertEquals("Rules [one, other] are both marked as the default rule, there can only be one", e.getMessage()); } } |