Skip to content

Commit

Permalink
Add null check test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharath BP committed Feb 28, 2025
1 parent 021b504 commit 82064ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/JDBC/expected/sys-computed_columns-vu-verify.out
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,11 @@ text
<NULL>
~~END~~


Select sys.tsql_get_expr(null, null)
GO
~~START~~
text
<NULL>
~~END~~

3 changes: 3 additions & 0 deletions test/JDBC/input/views/sys-computed_columns-vu-verify.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ Select sys.tsql_get_expr('abc',123)
GO

Select sys.tsql_get_expr('abc',0)
GO

Select sys.tsql_get_expr(null, null)
GO

0 comments on commit 82064ab

Please sign in to comment.