We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df822cd commit 9c8d44aCopy full SHA for 9c8d44a
1 file changed
client/src/test/java/io/split/engine/experiments/ParsedRuleBasedSegmentTest.java
@@ -44,7 +44,7 @@ public void worksWithoutExcluded() {
44
+ "\"combiner\": \"AND\"}}]}]}}";
45
SplitChange change = Json.fromJson(load, SplitChange.class);
46
RuleBasedSegmentsToUpdate toUpdate = processRuleBasedSegmentChanges(parser, change.ruleBasedSegments.d);
47
- Assert.assertEquals(new ArrayList<>(), toUpdate.getToAdd().get(0).excludedKeys());
48
- Assert.assertEquals(new ArrayList<>(), toUpdate.getToAdd().get(0).excludedSegments());
+ Assert.assertTrue(toUpdate.getToAdd().get(0).excludedKeys().isEmpty());
+ Assert.assertTrue(toUpdate.getToAdd().get(0).excludedSegments().isEmpty());
49
}
50
0 commit comments