File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ test("COPY TO incorrect usage with small data", function () {
134
134
assert . calls ( function ( error ) {
135
135
assert . ok ( error , "error should be reported when sending copy to query with query method" ) ;
136
136
client . query ( "SELECT 1" , assert . calls ( function ( error , result ) {
137
- assert . isNull ( error , "incorrect copy usage should not break connection" ) ;
137
+ assert . isNull ( error , "incorrect copy usage should not break connection: " + error ) ;
138
138
assert . ok ( result , "incorrect copy usage should not break connection" ) ;
139
139
done ( ) ;
140
140
} ) ) ;
@@ -154,7 +154,7 @@ test("COPY FROM incorrect usage", function () {
154
154
assert . calls ( function ( error ) {
155
155
assert . ok ( error , "error should be reported when sending copy to query with query method" ) ;
156
156
client . query ( "SELECT 1" , assert . calls ( function ( error , result ) {
157
- assert . isNull ( error , "incorrect copy usage should not break connection" ) ;
157
+ assert . isNull ( error , "incorrect copy usage should not break connection: " + error ) ;
158
158
assert . ok ( result , "incorrect copy usage should not break connection" ) ;
159
159
done ( ) ;
160
160
pg . end ( helper . config ) ;
You can’t perform that action at this time.
0 commit comments