Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
markpollack committed Nov 8, 2023
1 parent 57fae37 commit 37e5390
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ public void tesEqAndGte() {
}

@Test
@Disabled("investigate")
public void tesIn() {
public void testIn() {
// genre in ["comedy", "documentary", "drama"]
Expression exp = b.and(b.eq("genre", "drama"), b.gte("year", 2020)).build();
var exp = b.in("genre", "comedy", "documentary", "drama").build();
assertThat(exp)
.isEqualTo(new Expression(IN, new Key("genre"), new Value(List.of("comedy", "documentary", "drama"))));
}
Expand Down

0 comments on commit 37e5390

Please sign in to comment.