Skip to content

Commit

Permalink
Refactored based on Requested changes in PR
Browse files Browse the repository at this point in the history
Swapped AssertEquals
Signed-off-by: Mrudhul Guda <[email protected]>
  • Loading branch information
Luci-MG committed Feb 1, 2024
1 parent eadc8fb commit ba4c8b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ public void testNestedExistsQuery() throws IOException {
.add(new NormsFieldExistsQuery("field.nested_field._2gram"), BooleanClause.Occur.SHOULD)
.add(new TermQuery(new Term("_field_names", "field.nested_field._index_prefix")), BooleanClause.Occur.SHOULD)
.build());
assertEquals(actual, expected);
assertEquals(expected, actual);
}

private static BooleanQuery buildBoolPrefixQuery(String shingleFieldName, String prefixFieldName, List<String> terms) {
Expand Down

0 comments on commit ba4c8b6

Please sign in to comment.