We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863a7cd commit 8115601Copy full SHA for 8115601
src/ws4sqlite_test.go
@@ -389,14 +389,17 @@ func TestResultSetOrder(t *testing.T) {
389
req := request{
390
Transaction: []requestItem{
391
{
392
- Query: "CREATE TABLE table_with_many_columns (d INT, c INT, b INT, a INT)",
+ Statement: "CREATE TABLE table_with_many_columns (d INT, c INT, b INT, a INT)",
393
},
394
395
- Query: "INSERT INTO table_with_many_columns VALUES (4, 3, 2, 1)",
+ Statement: "INSERT INTO table_with_many_columns VALUES (4, 3, 2, 1)",
396
397
398
Query: "SELECT * FROM table_with_many_columns",
399
400
+ {
401
+ Statement: "DROP TABLE table_with_many_columns",
402
+ },
403
404
}
405
code, _, res := call("test", req, t)
@@ -408,7 +411,8 @@ func TestResultSetOrder(t *testing.T) {
408
411
409
412
if !res.Results[0].Success ||
410
413
!res.Results[1].Success ||
- !res.Results[2].Success {
414
+ !res.Results[2].Success ||
415
+ !res.Results[3].Success {
416
t.Error("did not succeed")
417
return
418
0 commit comments