Skip to content

Commit

Permalink
fix mssql tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Apr 1, 2024
1 parent b545bca commit 1334b8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ select 'text' as component,
ELSE 'Error: "/1" should be urlencoded to "%2F1"'
END
|| ' | With a null value: ' ||
CASE sqlpage.url_encode(CONCAT('/', $thisisnull)) IS NULL
WHEN true THEN 'With a null value: It works !'
CASE COALESCE(sqlpage.url_encode(CONCAT('/', $thisisnull)), 'expected')
WHEN 'expected' THEN 'With a null value: It works !'
ELSE 'Error: a null value concatenated with "/" should be null, and urlencoded to NULL'
END
AS contents;

0 comments on commit 1334b8d

Please sign in to comment.