File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
tests/ChangesReporting/Output Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function testGetName(): void
3131
3232 public function testReportShouldShowNumberOfChangesWithNoDiffs (): void
3333 {
34- $ this ->expectOsOutputString ((string ) file_get_contents (__DIR__ . '/Fixtures/without_diffs.json ' ));
34+ $ this ->expectOutputString ((string ) file_get_contents (__DIR__ . '/Fixtures/without_diffs.json ' ));
3535
3636 $ this ->jsonOutputFormatter ->report (
3737 new ProcessResult (
@@ -57,14 +57,4 @@ public function testReportShouldShowNumberOfChangesWithNoDiffs(): void
5757 new Configuration (showDiffs: false )
5858 );
5959 }
60-
61- protected function expectOsOutputString (string $ expectedOutput ): void
62- {
63- $ isWindows = strncasecmp (PHP_OS , 'WIN ' , 3 ) === 0 ;
64- if ($ isWindows ) {
65- $ expectedOutput = str_replace ('%0A ' , '%0D%0A ' , $ expectedOutput );
66- }
67-
68- parent ::expectOutputString ($ expectedOutput );
69- }
7060}
You can’t perform that action at this time.
0 commit comments