File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class FileNotFoundException extends Exception
1616
1717 public function __construct (?string $ path = null , ?string $ message = null )
1818 {
19- $ this ->message = $ message ?? ($ path ? "File $ path not found. " : $ this ->message );
19+ $ this ->message = $ message ?? ($ path ? "File [ $ path] not found. " : $ this ->message );
2020
2121 parent ::__construct ($ this ->message , $ this ->code );
2222 }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function testCanCompileBladeFileWithData()
3030 public function testWithMissingView ()
3131 {
3232 $ this ->expectException (FileNotFoundException::class);
33- $ this ->expectExceptionMessage ('File foo.blade.php not found. ' );
33+ $ this ->expectExceptionMessage ('File [ foo.blade.php] not found. ' );
3434
3535 AnonymousViewCompiler::call ('foo.blade.php ' );
3636 }
You can’t perform that action at this time.
0 commit comments