Skip to content

Commit

Permalink
test: add test for Postgres NOTNULL expression
Browse files Browse the repository at this point in the history
  • Loading branch information
manticore-projects committed Aug 31, 2023
1 parent 16e79a4 commit d50807d
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package net.sf.jsqlparser.expression.operators.relational;

import net.sf.jsqlparser.JSQLParserException;
import net.sf.jsqlparser.test.TestUtils;
import org.junit.jupiter.api.Test;

class IsNullExpressionTest {

@Test
void testNotNullExpression() throws JSQLParserException {
String sqlStr = "select * from mytable where 1 notnull";
TestUtils.assertSqlCanBeParsedAndDeparsed(sqlStr, true);
}
}

0 comments on commit d50807d

Please sign in to comment.