mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
@@ -15,7 +15,6 @@ package cast
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
|
||||
"testing"
|
||||
|
||||
qt "github.com/frankban/quicktest"
|
||||
|
@@ -41,7 +41,6 @@ func init() {
|
||||
}
|
||||
|
||||
return docshelper.DocProvider{"tpl": map[string]interface{}{"funcs": namespaces}}
|
||||
|
||||
}
|
||||
|
||||
docshelper.AddDocProviderFunc(docsProvider)
|
||||
|
@@ -51,7 +51,6 @@ func init() {
|
||||
)
|
||||
|
||||
return ns
|
||||
|
||||
}
|
||||
|
||||
internal.AddTemplateFuncsNamespace(f)
|
||||
|
@@ -38,5 +38,4 @@ func TestInit(t *testing.T) {
|
||||
|
||||
c.Assert(found, qt.Equals, true)
|
||||
c.Assert(ns.Context(), hqt.IsSameType, &Namespace{})
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user