diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-12-23 09:26:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-12-30 17:32:25 +0100 |
commit | cea157402365f34a69882110a4208999728007a6 (patch) | |
tree | bc29f699e7c901c219cffc5f50fba99dca53d5bd /tpl/tplimpl/template_funcs_test.go | |
parent | f9f779786edcefc4449a14cfc04dd93379f71373 (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.go | 3 |
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) |