mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-31 11:08:50 -04:00
Use any instead of interface
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
8153390a57
commit
29206ac845
10 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
}{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue