diff --git a/package/moq/moq.go b/package/moq/moq.go index 6ce174d..628e25e 100644 --- a/package/moq/moq.go +++ b/package/moq/moq.go @@ -8,10 +8,10 @@ import ( "go/parser" "go/token" "go/types" - "html/template" "io" "os" "strings" + "text/template" ) // Mocker can generate mock structs. diff --git a/package/moq/moq_test.go b/package/moq/moq_test.go index af16c46..0372756 100644 --- a/package/moq/moq_test.go +++ b/package/moq/moq_test.go @@ -115,7 +115,7 @@ func TestNothingToReturn(t *testing.T) { } } -func TestChannelsName(t *testing.T) { +func TestChannelNames(t *testing.T) { m, err := New("testdata/channels", "") if err != nil { t.Errorf("moq.New: %s", err)