Skip to content
Snippets Groups Projects
Commit 78c1d9ae authored by Zhibin Mai's avatar Zhibin Mai
Browse files

Enable a unit test

parent e4aa6e6d
No related branches found
No related tags found
1 merge request!620Support flexible condition match in Index Augmenter
Pipeline #213968 failed
...@@ -50,10 +50,11 @@ public class RelatedConditionTest { ...@@ -50,10 +50,11 @@ public class RelatedConditionTest {
Assert.assertTrue(relatedCondition.isMatch("abc")); Assert.assertTrue(relatedCondition.isMatch("abc"));
} }
@Test
public void isMatch_return_false_for_string_match() { public void isMatch_return_false_for_string_match() {
RelatedCondition relatedCondition = new RelatedCondition(); RelatedCondition relatedCondition = new RelatedCondition();
relatedCondition.setRelatedConditionMatches(Arrays.asList("xyz","abc")); relatedCondition.setRelatedConditionMatches(Arrays.asList("xyz","abc"));
Assert.assertTrue(relatedCondition.isMatch("ABC")); Assert.assertFalse(relatedCondition.isMatch("ABC"));
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment