Skip to content

Commit 5f2c022

Browse files
carnegiemedalbhirsz
authored andcommitted
Update basic_tests.robot
try different syntax for postgres, oracle etc.
1 parent 16a281e commit 5f2c022

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/tests/common_tests/basic_tests.robot

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ SQL Statement Ending Without Semicolon Works
1818

1919
SQL Statement With Parameters Works
2020
@{params}= Create List 2
21-
${output}= Query SELECT * FROM person WHERE id < ? parameters=${params}
21+
TRY
22+
${output}= Query SELECT * FROM person WHERE id < ? parameters=${params}
23+
EXCEPT
24+
${output}= Query SELECT * FROM person WHERE id < :id parameters=${params}
25+
END
2226
Length Should Be ${output} 1
2327

2428
Create Person Table

0 commit comments

Comments
 (0)