File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 44
55use PHPUnit \Framework \TestCase ;
66use Spatie \Snapshots \Drivers \TextDriver ;
7- use Spatie \Snapshots \Exceptions \CantBeSerialized ;
87
98class TextDriverTest extends TestCase
109{
@@ -17,7 +16,7 @@ public function it_can_serialize_laravel_route_list()
1716 '' ,
1817 ' GET|HEAD / ..................................................... index ' ,
1918 '' ,
20- ' Showing [1] routes '
19+ ' Showing [1] routes ' ,
2120 ]);
2221
2322 $ this ->assertEquals ($ expected , $ driver ->serialize (<<<EOF
@@ -37,18 +36,17 @@ public function it_can_serialize_when_given_OS_dependant_line_endings()
3736 '' ,
3837 ' GET|HEAD / ..................................................... index ' ,
3938 '' ,
40- ' Showing [1] routes '
39+ ' Showing [1] routes ' ,
4140 ]);
4241
4342 // Due to using PHP_EOL this should fail (conditionally) when run on windows
4443 $ actual = implode (PHP_EOL , [
4544 '' ,
4645 ' GET|HEAD / ..................................................... index ' ,
4746 '' ,
48- ' Showing [1] routes '
47+ ' Showing [1] routes ' ,
4948 ]);
5049
5150 $ this ->assertEquals ($ expected , $ driver ->serialize ($ actual ));
5251 }
53-
5452}
You can’t perform that action at this time.
0 commit comments