Fix the issue by using text/template instead of html/template

This commit is contained in:
Piotr Rojek 2017-03-07 14:24:56 +01:00
parent 8e7263835a
commit 22752b6056
2 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ import (
"go/parser"
"go/token"
"go/types"
"html/template"
"io"
"os"
"strings"
"text/template"
)
// Mocker can generate mock structs.

View File

@ -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)