@@ -96,7 +96,7 @@ func TestGciLocal(t *testing.T) {
9696 require .NoError (t , err )
9797
9898 testshared .NewLintRunner (t ).RunWithYamlConfig (string (cfg ), args ... ).
99- ExpectHasIssue ("testdata/gci/gci.go:9:1: Expected ' \\ n', Found ' \\ t' " )
99+ ExpectHasIssue ("testdata/gci/gci.go:8: File is not `gci`-ed " )
100100}
101101
102102func TestMultipleOutputs (t * testing.T ) {
@@ -112,7 +112,7 @@ func TestMultipleOutputs(t *testing.T) {
112112 require .NoError (t , err )
113113
114114 testshared .NewLintRunner (t ).RunWithYamlConfig (string (cfg ), args ... ).
115- ExpectHasIssue ("testdata/gci/gci.go:9:1: Expected ' \\ n', Found ' \\ t' " ).
115+ ExpectHasIssue ("testdata/gci/gci.go:8: File is not `gci`-ed " ).
116116 ExpectOutputContains (`"Issues":[` )
117117}
118118
@@ -129,7 +129,7 @@ func TestStderrOutput(t *testing.T) {
129129 require .NoError (t , err )
130130
131131 testshared .NewLintRunner (t ).RunWithYamlConfig (string (cfg ), args ... ).
132- ExpectHasIssue ("testdata/gci/gci.go:9:1: Expected ' \\ n', Found ' \\ t' " ).
132+ ExpectHasIssue ("testdata/gci/gci.go:8: File is not `gci`-ed " ).
133133 ExpectOutputContains (`"Issues":[` )
134134}
135135
@@ -149,7 +149,7 @@ func TestFileOutput(t *testing.T) {
149149 require .NoError (t , err )
150150
151151 testshared .NewLintRunner (t ).RunWithYamlConfig (string (cfg ), args ... ).
152- ExpectHasIssue ("testdata/gci/gci.go:9:1: Expected ' \\ n', Found ' \\ t' " ).
152+ ExpectHasIssue ("testdata/gci/gci.go:8: File is not `gci`-ed " ).
153153 ExpectOutputNotContains (`"Issues":[` )
154154
155155 b , err := os .ReadFile (resultPath )
0 commit comments