@@ -35,12 +35,14 @@ func TestCond(t *testing.T) {
3535 "$$a LIKE $0" : func () string { return newTestCond ().Like ("$a" , "%Huan%" ) },
3636 "$$a ILIKE $0" : func () string { return newTestCond ().ILike ("$a" , "%Huan%" ) },
3737 "$$a NOT LIKE $0" : func () string { return newTestCond ().NotLike ("$a" , "%Huan%" ) },
38+ "$$a NOT ILIKE $0" : func () string { return newTestCond ().NotILike ("$a" , "%Huan%" ) },
3839 "$$a IS NULL" : func () string { return newTestCond ().IsNull ("$a" ) },
3940 "$$a IS NOT NULL" : func () string { return newTestCond ().IsNotNull ("$a" ) },
4041 "$$a BETWEEN $0 AND $1" : func () string { return newTestCond ().Between ("$a" , 123 , 456 ) },
4142 "$$a NOT BETWEEN $0 AND $1" : func () string { return newTestCond ().NotBetween ("$a" , 123 , 456 ) },
4243 "(1 = 1 OR 2 = 2 OR 3 = 3)" : func () string { return newTestCond ().Or ("1 = 1" , "2 = 2" , "3 = 3" ) },
4344 "(1 = 1 AND 2 = 2 AND 3 = 3)" : func () string { return newTestCond ().And ("1 = 1" , "2 = 2" , "3 = 3" ) },
45+ "NOT 1 = 1" : func () string { return newTestCond ().Not ("1 = 1" ) },
4446 "EXISTS ($0)" : func () string { return newTestCond ().Exists (1 ) },
4547 "NOT EXISTS ($0)" : func () string { return newTestCond ().NotExists (1 ) },
4648 "$$a > ANY ($0, $1)" : func () string { return newTestCond ().Any ("$a" , ">" , 1 , 2 ) },
0 commit comments