summaryrefslogtreecommitdiff
path: root/vrsite/bench_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vrsite/bench_test.go')
-rw-r--r--vrsite/bench_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrsite/bench_test.go b/vrsite/bench_test.go
index c3eac0c..6e3f907 100644
--- a/vrsite/bench_test.go
+++ b/vrsite/bench_test.go
@@ -268,7 +268,7 @@ func BenchmarkRender(b *testing.B) {
// template execution for an already-rendered file page
func BenchmarkExecute(b *testing.B) {
hl := benchHL(b)
- tpl := newTemplates()
+ tpl := newTemplates(hl)
site := &Site{
Title: "bench", Files: map[string]*File{},
Theme: loadTheme("", "", "dark"), Light: loadTheme("", "", "light"),