@@ -96,7 +96,7 @@ func TestGciLocal(t *testing.T) {
96
96
require .NoError (t , err )
97
97
98
98
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 " )
100
100
}
101
101
102
102
func TestMultipleOutputs (t * testing.T ) {
@@ -112,7 +112,7 @@ func TestMultipleOutputs(t *testing.T) {
112
112
require .NoError (t , err )
113
113
114
114
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 " ).
116
116
ExpectOutputContains (`"Issues":[` )
117
117
}
118
118
@@ -129,7 +129,7 @@ func TestStderrOutput(t *testing.T) {
129
129
require .NoError (t , err )
130
130
131
131
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 " ).
133
133
ExpectOutputContains (`"Issues":[` )
134
134
}
135
135
@@ -149,7 +149,7 @@ func TestFileOutput(t *testing.T) {
149
149
require .NoError (t , err )
150
150
151
151
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 " ).
153
153
ExpectOutputNotContains (`"Issues":[` )
154
154
155
155
b , err := os .ReadFile (resultPath )
0 commit comments