diff --git a/mocks.go b/mocks.go index 22d3651..4fb5af1 100644 --- a/mocks.go +++ b/mocks.go @@ -39,7 +39,7 @@ func (m *Mock) Check(t testing.TB, wantLogged []string) { got := litter.Sdump(m.Logged) want := litter.Sdump(wantLogged) if got != want { - t.Errorf("Mock() got %s, want %s", got, want) + t.Errorf("Logger() got %s, want %s", got, want) } } } diff --git a/mocks_test.go b/mocks_test.go index b64841a..0383fcb 100644 --- a/mocks_test.go +++ b/mocks_test.go @@ -51,7 +51,7 @@ func TestMock_Check(t *testing.T) { name: "different", fields: fields{Logged: []string{"same"}}, args: args{wantLogged: []string{"different"}}, - want: []string{`Mock() got []string{ + want: []string{`Logger() got []string{ "same", }, want []string{ "different",