Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vthacker committed Feb 6, 2024
1 parent 2a89d5b commit 9a8b260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public void shouldParseIdFieldSearch() throws Exception {
IndexSearcher indexSearcher = logStoreAndSearcherRule.logStore.getSearcherManager().acquire();
Query idQuery =
openSearchAdapter.buildQuery("foo", STR."\{idField}:\{idValue}", null, null, indexSearcher);
BytesRef queryStrBytes = new BytesRef(Uid.encodeId("1x").bytes);
BytesRef queryStrBytes = new BytesRef(Uid.encodeId("1").bytes);
// idQuery.toString="#_id:([fe 1f])"
// queryStrBytes.toString="[fe 1f]"
assertThat(idQuery.toString()).contains(queryStrBytes.toString());
Expand Down

0 comments on commit 9a8b260

Please sign in to comment.