Skip to content

Commit 1334b8d

Browse files
committed
fix mssql tests
1 parent b545bca commit 1334b8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sql_test_files/it_works_concat_str_in_pseudofunction.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ select 'text' as component,
1010
ELSE 'Error: "/1" should be urlencoded to "%2F1"'
1111
END
1212
|| ' | With a null value: ' ||
13-
CASE sqlpage.url_encode(CONCAT('/', $thisisnull)) IS NULL
14-
WHEN true THEN 'With a null value: It works !'
13+
CASE COALESCE(sqlpage.url_encode(CONCAT('/', $thisisnull)), 'expected')
14+
WHEN 'expected' THEN 'With a null value: It works !'
1515
ELSE 'Error: a null value concatenated with "/" should be null, and urlencoded to NULL'
1616
END
1717
AS contents;

0 commit comments

Comments
 (0)