File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ trait ArtisanAsserts
88{
99 protected function seeArtisanOutput ($ output )
1010 {
11- $ output = trim ($ output );
12- $ this ->assertEquals ($ output , Artisan::output (), "Failed asserting that artisan output is ` {$ output }`. " );
11+ $ expected = trim ($ output );
12+ $ actual = trim (Artisan::output ());
13+ $ this ->assertEquals ($ expected , $ actual , "Failed asserting that artisan output is ` {$ expected }`. " );
1314 }
1415
1516 protected function dontSeeArtisanOutput ($ output )
1617 {
17- $ output = trim ($ output );
18- $ this ->assertNotEquals ($ output , Artisan::output (), "Failed asserting that artisan output is not ` {$ output }`. " );
18+ $ expected = trim ($ output );
19+ $ actual = trim (Artisan::output ());
20+ $ this ->assertNotEquals ($ expected , $ actual , "Failed asserting that artisan output is not ` {$ expected }`. " );
1921 }
2022}
You can’t perform that action at this time.
0 commit comments