File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ func TestConfig_Validate_ValidIgnorePattern(t *testing.T) {
161161 }
162162}
163163
164- func TestConfig_WriteTo (t * testing.T ) {
164+ func TestConfig_WriteCompactTo (t * testing.T ) {
165165 conf := config .NewDefault ()
166166 var buf bytes.Buffer
167167 err := config .WriteCompactTo (& buf , conf )
@@ -170,7 +170,7 @@ func TestConfig_WriteTo(t *testing.T) {
170170 }
171171 output := buf .String ()
172172 if output == "" {
173- t .Error ("expected non-empty output from WriteTo " )
173+ t .Error ("expected non-empty output from WriteCompactTo " )
174174 }
175175
176176 // Should only contain settings for the 5 enabled rules, not all 20
@@ -186,7 +186,7 @@ func TestConfig_WriteTo(t *testing.T) {
186186 }
187187}
188188
189- func TestConfig_WriteTo_WithUserIgnores (t * testing.T ) {
189+ func TestConfig_WriteCompactTo_WithUserIgnores (t * testing.T ) {
190190 conf := config .NewDefault ()
191191 conf .IgnorePatterns = []string {`^WIP ` }
192192 var buf bytes.Buffer
You can’t perform that action at this time.
0 commit comments