diff --git a/src/Illuminate/Foundation/Http/HtmlDumper.php b/src/Illuminate/Foundation/Http/HtmlDumper.php index 62187794fa8f..467fc22d06b9 100644 --- a/src/Illuminate/Foundation/Http/HtmlDumper.php +++ b/src/Illuminate/Foundation/Http/HtmlDumper.php @@ -132,7 +132,7 @@ protected function getDumpSourceContent() ); } - return sprintf(' // %s', $source); + return sprintf(' // %s', $source); } /** diff --git a/tests/Foundation/Http/HtmlDumperTest.php b/tests/Foundation/Http/HtmlDumperTest.php index 975e4a89a5ca..4b6ff46f7082 100644 --- a/tests/Foundation/Http/HtmlDumperTest.php +++ b/tests/Foundation/Http/HtmlDumperTest.php @@ -25,7 +25,7 @@ public function testString() { $output = $this->dump('string'); - $expected = "string\" // app/routes/console.php:18\n"; + $expected = "string\" // app/routes/console.php:18\n"; $this->assertStringContainsString($expected, $output); } @@ -34,7 +34,7 @@ public function testInteger() { $output = $this->dump(1); - $expected = "1 // app/routes/console.php:18\n"; + $expected = "1 // app/routes/console.php:18\n"; $this->assertStringContainsString($expected, $output); } @@ -43,7 +43,7 @@ public function testFloat() { $output = $this->dump(1.1); - $expected = "1.1 // app/routes/console.php:18\n"; + $expected = "1.1 // app/routes/console.php:18\n"; $this->assertStringContainsString($expected, $output); } @@ -52,7 +52,7 @@ public function testArray() { $output = $this->dump(['string', 1, 1.1, ['string', 1, 1.1]]); - $expected = ' // app/routes/console.php:18'; + $expected = ' // app/routes/console.php:18'; $this->assertStringContainsString($expected, $output); } @@ -61,7 +61,7 @@ public function testBoolean() { $output = $this->dump(true); - $expected = "true // app/routes/console.php:18\n"; + $expected = "true // app/routes/console.php:18\n"; $this->assertStringContainsString($expected, $output); } @@ -73,7 +73,7 @@ public function testObject() $output = $this->dump($user); - $expected = ' // app/routes/console.php:18'; + $expected = ' // app/routes/console.php:18'; $this->assertStringContainsString($expected, $output); } @@ -82,7 +82,7 @@ public function testNull() { $output = $this->dump(null); - $expected = "null // app/routes/console.php:18\n"; + $expected = "null // app/routes/console.php:18\n"; $this->assertStringContainsString($expected, $output); }