Skip to content

Commit

Permalink
encrypt statement in operator
Browse files Browse the repository at this point in the history
  • Loading branch information
SteNicholas committed Dec 13, 2019
1 parent ef02bf9 commit 3b68bd1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -50,12 +50,12 @@ public void assertToStringWithoutPlaceholderWithoutTableOwnerWithIn() {
indexValues.put(0, "a");
indexValues.put(1, "b");
EncryptPredicateRightValueToken actual = new EncryptPredicateRightValueToken(0, 0, indexValues, Collections.<Integer>emptyList(), ShardingOperator.IN);
assertThat(actual.toString(), is("('a', 'b')"));
assertThat(actual.toString(), is("'a', 'b')"));
}

@Test
public void assertToStringWithPlaceholderWithoutTableOwnerWithIn() {
EncryptPredicateRightValueToken actual = new EncryptPredicateRightValueToken(0, 0, Collections.<Integer, Object>emptyMap(), Collections.singletonList(0), ShardingOperator.IN);
assertThat(actual.toString(), is("(?)"));
assertThat(actual.toString(), is("?)"));
}
}

0 comments on commit 3b68bd1

Please sign in to comment.