File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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 () {
134134 assert . calls ( function ( error ) {
135135 assert . ok ( error , "error should be reported when sending copy to query with query method" ) ;
136136 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 ) ;
138138 assert . ok ( result , "incorrect copy usage should not break connection" ) ;
139139 done ( ) ;
140140 } ) ) ;
@@ -154,7 +154,7 @@ test("COPY FROM incorrect usage", function () {
154154 assert . calls ( function ( error ) {
155155 assert . ok ( error , "error should be reported when sending copy to query with query method" ) ;
156156 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 ) ;
158158 assert . ok ( result , "incorrect copy usage should not break connection" ) ;
159159 done ( ) ;
160160 pg . end ( helper . config ) ;
You can’t perform that action at this time.
0 commit comments