Fix the issue by using text/template instead of html/template
This commit is contained in:
parent
8e7263835a
commit
22752b6056
@ -8,10 +8,10 @@ import (
|
||||
"go/parser"
|
||||
"go/token"
|
||||
"go/types"
|
||||
"html/template"
|
||||
"io"
|
||||
"os"
|
||||
"strings"
|
||||
"text/template"
|
||||
)
|
||||
|
||||
// Mocker can generate mock structs.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user