Skip to content

Commit

Permalink
increase test coverage for regex match clause
Browse files Browse the repository at this point in the history
  • Loading branch information
cschen1205 committed May 9, 2017
1 parent 41aaea7 commit 6271c46
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public void test_match(){
public void test_intersect() {
assertThat(clause.intersect(new EqualsClause("url", "http://www.google.com"))).isEqualTo(IntersectionType.Inclusive);
assertThat(clause.intersect(new EqualsClause("url", "google-com"))).isEqualTo(IntersectionType.MutuallyExclusive);
assertThat(clause.intersect(new NegationClause(new EqualsClause("url", "http://www.google.com")))).isEqualTo(IntersectionType.MutuallyExclusive);
assertThat(clause.intersect(clause)).isEqualTo(IntersectionType.Inclusive);
}

}

0 comments on commit 6271c46

Please sign in to comment.