File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
system/Commands/Utilities Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function run(array $params)
9797 $ tbody [] = [
9898 strtoupper ($ method ),
9999 $ route ,
100- is_string ($ handler ) ? $ handler : 'Closure ' ,
100+ is_string ($ handler ) ? $ handler : '( Closure) ' ,
101101 ];
102102 }
103103 }
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public function testRoutesCommand()
110110 {
111111 command ('routes ' );
112112
113- $ this ->assertStringContainsString ('| Closure ' , $ this ->getBuffer ());
113+ $ this ->assertStringContainsString ('| ( Closure) ' , $ this ->getBuffer ());
114114 $ this ->assertStringContainsString ('| Route ' , $ this ->getBuffer ());
115115 $ this ->assertStringContainsString ('| testing ' , $ this ->getBuffer ());
116116 $ this ->assertStringContainsString ('\\TestController::index ' , $ this ->getBuffer ());
You can’t perform that action at this time.
0 commit comments