Skip to content

Commit d50807d

Browse files
test: add test for Postgres NOTNULL expression
1 parent 16e79a4 commit d50807d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package net.sf.jsqlparser.expression.operators.relational;
2+
3+
import net.sf.jsqlparser.JSQLParserException;
4+
import net.sf.jsqlparser.test.TestUtils;
5+
import org.junit.jupiter.api.Test;
6+
7+
class IsNullExpressionTest {
8+
9+
@Test
10+
void testNotNullExpression() throws JSQLParserException {
11+
String sqlStr = "select * from mytable where 1 notnull";
12+
TestUtils.assertSqlCanBeParsedAndDeparsed(sqlStr, true);
13+
}
14+
}

0 commit comments

Comments
 (0)