Skip to content

Commit 4b6111b

Browse files
committed
fix: some error formatter tests
1 parent d05326a commit 4b6111b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/ErrorFormatter/GithubErrorFormatterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function dataFormatterOutputProvider(): iterable
6666
4 Foo
6767
' . $dashLine . '
6868
69+
6970
[ERROR] Found 1 error
7071
7172
::error file=folder with unicode 😃/file name with "spaces" and unicode 😃.php,line=4,col=0::Foo
@@ -83,6 +84,7 @@ public function dataFormatterOutputProvider(): iterable
8384
first generic error
8485
-- ---------------------
8586
87+
8688
[ERROR] Found 1 error
8789
8890
::error ::first generic error
@@ -131,6 +133,7 @@ public function dataFormatterOutputProvider(): iterable
131133
second generic error
132134
-- ----------------------
133135
136+
134137
[ERROR] Found 2 errors
135138
136139
::error ::first generic error

tests/ErrorFormatter/TableErrorFormatterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function dataFormatterOutputProvider(): iterable
6565
4 Foo
6666
' . $dashLine . '
6767
68+
6869
[ERROR] Found 1 error
6970
7071
',
@@ -81,6 +82,7 @@ public function dataFormatterOutputProvider(): iterable
8182
first generic error
8283
-- ---------------------
8384
85+
8486
[ERROR] Found 1 error
8587
8688
',
@@ -124,6 +126,7 @@ public function dataFormatterOutputProvider(): iterable
124126
second generic error
125127
-- ----------------------
126128
129+
127130
[ERROR] Found 2 errors
128131
129132
',

0 commit comments

Comments
 (0)