@@ -70,43 +70,43 @@ func cliTests() ([]Test, error) {
70
70
{
71
71
"complex/postgres" ,
72
72
"./contrib/postgres/test.sql" ,
73
- []string {"pgsql://postgres:P4ssw0rd@localhost" , "--pset=pager=off" },
73
+ []string {"pgsql://postgres:P4ssw0rd@localhost" , "--set=PAGER=''" , "-- pset=pager=off" },
74
74
env ,
75
75
},
76
76
{
77
77
"complex/mysql" ,
78
78
"./contrib/mysql/test.sql" ,
79
- []string {"my://root:P4ssw0rd@localhost" , "--pset=pager=off" },
79
+ []string {"my://root:P4ssw0rd@localhost" , "--set=PAGER=''" , "-- pset=pager=off" },
80
80
env ,
81
81
},
82
82
{
83
83
"complex/sqlite3" ,
84
84
"./contrib/sqlite3/test.sql" ,
85
- []string {"sqlite:./testdata/sqlite3_test.db" , "--pset=pager=off" },
85
+ []string {"sqlite:./testdata/sqlite3_test.db" , "--set=PAGER=''" , "-- pset=pager=off" },
86
86
env ,
87
87
},
88
88
{
89
89
"complex/moderncsqlite" ,
90
90
"./contrib/sqlite3/test.sql" ,
91
- []string {"mq:./testdata/moderncsqlite_test.db" , "--pset=pager=off" },
91
+ []string {"mq:./testdata/moderncsqlite_test.db" , "--set=PAGER=''" , "-- pset=pager=off" },
92
92
env ,
93
93
},
94
94
{
95
95
"complex/sqlserver" ,
96
96
"./contrib/sqlserver/test.sql" ,
97
- []string {"sqlserver://sa:Adm1nP@ssw0rd@localhost/" , "--pset=pager=off" },
97
+ []string {"sqlserver://sa:Adm1nP@ssw0rd@localhost/" , "--set=PAGER=''" , "-- pset=pager=off" },
98
98
env ,
99
99
},
100
100
{
101
101
"complex/cassandra" ,
102
102
"./contrib/cassandra/test.sql" ,
103
- []string {"ca://cassandra:cassandra@localhost" , "--pset=pager=off" },
103
+ []string {"ca://cassandra:cassandra@localhost" , "--set=PAGER=''" , "-- pset=pager=off" },
104
104
env ,
105
105
},
106
106
{
107
107
"copy/a_bit_of_everything" ,
108
108
"./testdata/copy.sql" ,
109
- []string {"--pset=pager=off" },
109
+ []string {"--set=PAGER=''" , "-- pset=pager=off" },
110
110
env ,
111
111
},
112
112
}, nil
@@ -139,7 +139,6 @@ func (test Test) do(ctx context.Context, binpath string, timeout time.Duration)
139
139
defer exp .Close ()
140
140
return err
141
141
}
142
- return exp .Close ()
143
142
}
144
143
145
144
type noopWriteCloser struct {
0 commit comments