Use any instead of interface

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-04-28 10:28:28 +02:00 committed by Daniel Weiße
parent 8153390a57
commit 29206ac845
10 changed files with 19 additions and 19 deletions

View file

@ -25,7 +25,7 @@ func TestReadJSON(t *testing.T) {
fs afero.Fs
setupFs func(fs *afero.Afero) error
name string
wantContent interface{}
wantContent any
wantErr bool
}{
"successful read": {
@ -83,7 +83,7 @@ func TestWriteJSON(t *testing.T) {
fs afero.Fs
setupFs func(af afero.Afero) error
name string
content interface{}
content any
options Option
wantErr bool
}{