Skip to content

Commit

Permalink
fixed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mawen12 committed Sep 30, 2024
1 parent 7ee16bc commit 47f48f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ public void shouldApply() throws Exception {

List<String> allKeyValues = bindKeyCaptor.getAllValues();
List<Object> allValValues = bindValueCaptor.getAllValues();
assertEquals(Arrays.asList("index", "__frch__index_0", "item", "__frch__item_0",
"index", "__frch__index_0", "item", "__frch__item_0",
"index", "__frch__index_0", "item", "__frch__item_0"), allKeyValues);
assertEquals(Arrays.asList("index", "__frch_index_0", "item", "__frch_item_0",
"index", "__frch_index_0", "item", "__frch_item_0",
"index", "__frch_index_0", "item", "__frch_item_0"), allKeyValues);
assertEquals(Arrays.asList(0, 0, "a", "a",
1, 1, "b", "b",
2, 2, "c", "c"), allValValues);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public void shouldAppendNone() {
boolean result = sqlNode.apply(context);

assertFalse(result);
verify(context).appendSql("");
verify(context, never()).appendSql(TEXT);
}
}

0 comments on commit 47f48f5

Please sign in to comment.