Skip to content

Commit 1deb7f3

Browse files
committed
fix(ci): fix shellcheck warnings in lab test script
1 parent d476809 commit 1deb7f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/labs/test-lab-03-01.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ BEGIN;
207207
UPDATE it_stack_lab SET status='txcommitted' WHERE lab_number='00-99';
208208
COMMIT;
209209
SQL
210+
then
210211
pass "Transaction BEGIN/COMMIT succeeds"
211212
else
212213
fail "Transaction failed"
@@ -220,6 +221,7 @@ BEGIN;
220221
INSERT INTO it_stack_lab (module, lab_number, status) VALUES ('rollbacktest','00-98','shouldnotexist');
221222
ROLLBACK;
222223
SQL
224+
then
223225
if ! psql_admin "SELECT 1 FROM it_stack_lab WHERE lab_number='00-98';" \
224226
| grep -q "1"; then
225227
pass "ROLLBACK correctly discards changes"

0 commit comments

Comments
 (0)