File tree Expand file tree Collapse file tree
tokio-postgres/tests/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ async fn notices() {
577577 . unwrap ( ) ;
578578
579579 let ( tx, rx) = mpsc:: unbounded ( ) ;
580- let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( e) ) ;
580+ let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
581581 let connection = stream. forward ( tx) . map ( |r| r. unwrap ( ) ) ;
582582 tokio:: spawn ( connection) ;
583583
@@ -612,7 +612,7 @@ async fn notifications() {
612612 let ( client, mut connection) = connect_raw ( "user=postgres" ) . await . unwrap ( ) ;
613613
614614 let ( tx, rx) = mpsc:: unbounded ( ) ;
615- let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( e) ) ;
615+ let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
616616 let connection = stream. forward ( tx) . map ( |r| r. unwrap ( ) ) ;
617617 tokio:: spawn ( connection) ;
618618
You can’t perform that action at this time.
0 commit comments