chore: interface{} -> any

This commit is contained in:
Alec Thomas
2024-12-29 08:10:34 +09:00
parent 36257680f1
commit a32b94b705
16 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func TestConfigValidation(t *testing.T) {
assert.Error(t, err)
}
func makeConfig(t *testing.T, config interface{}) (path string, cleanup func()) {
func makeConfig(t *testing.T, config any) (path string, cleanup func()) {
t.Helper()
w, err := os.CreateTemp("", "")
assert.NoError(t, err)