hugo/template/bundle/bundle_test.go
Noah Campbell 79d9f82e79 Code reorg, helpers.go has been decomposed.
It started with wanting to move templates in template bundles and the
rest followed.  I did my best to start grouping related functions
together, but there are some that I missed.  There is also the method
Urlize that seems to be a special function used in both worlds.  I'll
need to revisit this method.
2013-09-03 16:16:07 -07:00

13 lines
192 B
Go

package bundle
import (
"testing"
)
func TestNothing(t *testing.T) {
b := NewTemplate()
if b.Lookup("alias") == nil {
t.Fatalf("Expecting alias to be initialized with new bundle")
}
}