Skip to content

Commit 9969160

Browse files
committed
add test for ILIKE cond
1 parent 0b6f814 commit 9969160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cond_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func TestCond(t *testing.T) {
3333
"$$a IN ($0, $1, $2)": func() string { return newTestCond().In("$a", 1, 2, 3) },
3434
"$$a NOT IN ($0, $1, $2)": func() string { return newTestCond().NotIn("$a", 1, 2, 3) },
3535
"$$a LIKE $0": func() string { return newTestCond().Like("$a", "%Huan%") },
36+
"$$a ILIKE $0": func() string { return newTestCond().ILike("$a", "%Huan%") },
3637
"$$a NOT LIKE $0": func() string { return newTestCond().NotLike("$a", "%Huan%") },
3738
"$$a IS NULL": func() string { return newTestCond().IsNull("$a") },
3839
"$$a IS NOT NULL": func() string { return newTestCond().IsNotNull("$a") },

0 commit comments

Comments
 (0)