summaryrefslogtreecommitdiffstats
path: root/tpl/tplimpl/template_funcs_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-23 09:26:23 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-12-30 17:32:25 +0100
commitcea157402365f34a69882110a4208999728007a6 (patch)
treebc29f699e7c901c219cffc5f50fba99dca53d5bd /tpl/tplimpl/template_funcs_test.go
parentf9f779786edcefc4449a14cfc04dd93379f71373 (diff)
Add Dart Sass support
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021. Fixes #7380 Fixes #8102
Diffstat (limited to 'tpl/tplimpl/template_funcs_test.go')
-rw-r--r--tpl/tplimpl/template_funcs_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/tplimpl/template_funcs_test.go b/tpl/tplimpl/template_funcs_test.go
index c142dd672..67e957924 100644
--- a/tpl/tplimpl/template_funcs_test.go
+++ b/tpl/tplimpl/template_funcs_test.go
@@ -98,6 +98,7 @@ func TestTemplateFuncsExamples(t *testing.T) {
depsCfg := newDepsConfig(v)
depsCfg.Fs = fs
d, err := deps.New(depsCfg)
+ defer d.Close()
c.Assert(err, qt.IsNil)
var data struct {
@@ -163,6 +164,7 @@ func TestPartialCached(t *testing.T) {
de, err := deps.New(config)
c.Assert(err, qt.IsNil)
+ defer de.Close()
c.Assert(de.LoadResources(), qt.IsNil)
ns := partials.New(de)
@@ -216,6 +218,7 @@ func doBenchmarkPartial(b *testing.B, f func(ns *partials.Namespace) error) {
de, err := deps.New(config)
c.Assert(err, qt.IsNil)
+ defer de.Close()
c.Assert(de.LoadResources(), qt.IsNil)
ns := partials.New(de)