Skip to content

Commit

Permalink
Add missing rowsort in test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hnjylwb committed Mar 6, 2024
1 parent bf1db01 commit f36a095
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/lab1/10-insert.test
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ select score, info from test_insert;
6.6 ffffff

query
insert into test_insert values(7, 7.7, 'ggggggg'), (8, 8.8, 'hhhhhhhh'), (9, 9.9, 'iiiiiiiii'), (10, 10.0, 'jjjjjjjjjj'), (11, 11.1, 'kkkkkkkkkkk');
insert into test_insert values(7, 7.7, 'ggggggg'), (8, 8.8, 'hhhhhhhh'), (9, 9.9, 'iiiiiiiii'), (10, 10.1, 'jjjjjjjjjj'), (11, 11.1, 'kkkkkkkkkkk');
----
5

Expand Down
4 changes: 4 additions & 0 deletions test/lab1/20-delete.test
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ delete from test_delete;
----
7

query
select * from test_delete;
----

query
insert into test_delete values(1, 1.1, 'a'), (2, 2.2, 'bb');
----
Expand Down
6 changes: 3 additions & 3 deletions test/lab1/30-update.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ insert into test_update values(4, 4.4, 'dddd'), (5, 5.5, 'eeeee'), (6, 6.6, 'fff
----
3

query
query rowsort
select score, info from test_update;
----
1.1 a
Expand Down Expand Up @@ -73,7 +73,7 @@ insert into test_update values(7, 7.7, 'ggggggg'), (8, 8.8, 'hhhhhhhh'), (9, 9.9
----
5

query
query rowsort
select id, info from test_update;
----
1 a
Expand All @@ -91,7 +91,7 @@ update test_update set id = 1 where id < 0;
----
0

query
query rowsort
select id, info from test_update;
----
1 a
Expand Down
2 changes: 1 addition & 1 deletion test/lab2/10-rollback.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ insert into test_rollback values(1, 'info1'), (2, 'info2');
----
2

query
query rowsort
select * from test_rollback;
----
1 info1
Expand Down

0 comments on commit f36a095

Please sign in to comment.