mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
all: gofmt -w -r 'interface{} -> any' (#2874)
This commit is contained in:
@@ -23,7 +23,7 @@ func TestMarshalerEncode(t *testing.T) {
|
||||
call := m.On("MarshalGraphson").Return(want, nil)
|
||||
defer m.AssertExpectations(t)
|
||||
|
||||
tests := []interface{}{m, &m, func() *Marshaler { marshaler := Marshaler(m); return &marshaler }(), Marshaler(nil)}
|
||||
tests := []any{m, &m, func() *Marshaler { marshaler := Marshaler(m); return &marshaler }(), Marshaler(nil)}
|
||||
call.Times(len(tests) - 1)
|
||||
|
||||
for _, tc := range tests {
|
||||
|
||||
Reference in New Issue
Block a user