@@ -164,7 +164,7 @@ public function testThrowingBufferCallback()
164164 $ client = $ this ->getHttpClient (__FUNCTION__ );
165165
166166 $ response = $ client ->request ('GET ' , 'http://localhost:8057 ' , ['buffer ' => function () {
167- throw new \Exception ('Boo ' );
167+ throw new \Exception ('Boo. ' );
168168 }]);
169169
170170 $ this ->assertSame (200 , $ response ->getStatusCode ());
@@ -646,7 +646,7 @@ public function testOnProgressCancel()
646646 $ response = $ client ->request ('GET ' , 'http://localhost:8057/timeout-body ' , [
647647 'on_progress ' => function ($ dlNow ) {
648648 if (0 < $ dlNow ) {
649- throw new \Exception ('Aborting the request ' );
649+ throw new \Exception ('Aborting the request. ' );
650650 }
651651 },
652652 ]);
@@ -656,7 +656,7 @@ public function testOnProgressCancel()
656656 }
657657 $ this ->fail (ClientExceptionInterface::class.' expected ' );
658658 } catch (TransportExceptionInterface $ e ) {
659- $ this ->assertSame ('Aborting the request ' , $ e ->getPrevious ()->getMessage ());
659+ $ this ->assertSame ('Aborting the request. ' , $ e ->getPrevious ()->getMessage ());
660660 }
661661
662662 $ this ->assertNotNull ($ response ->getInfo ('error ' ));
@@ -670,7 +670,7 @@ public function testOnProgressError()
670670 $ response = $ client ->request ('GET ' , 'http://localhost:8057/timeout-body ' , [
671671 'on_progress ' => function ($ dlNow ) {
672672 if (0 < $ dlNow ) {
673- throw new \Error ('BUG ' );
673+ throw new \Error ('BUG. ' );
674674 }
675675 },
676676 ]);
@@ -680,7 +680,7 @@ public function testOnProgressError()
680680 }
681681 $ this ->fail ('Error expected ' );
682682 } catch (\Error $ e ) {
683- $ this ->assertSame ('BUG ' , $ e ->getMessage ());
683+ $ this ->assertSame ('BUG. ' , $ e ->getMessage ());
684684 }
685685
686686 $ this ->assertNotNull ($ response ->getInfo ('error ' ));
0 commit comments