summaryrefslogtreecommitdiffstats
path: root/tpl/collections/collections_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/collections/collections_test.go')
-rw-r--r--tpl/collections/collections_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/tpl/collections/collections_test.go b/tpl/collections/collections_test.go
index 86192c480..43f8377f3 100644
--- a/tpl/collections/collections_test.go
+++ b/tpl/collections/collections_test.go
@@ -14,6 +14,7 @@
package collections
import (
+ "context"
"errors"
"fmt"
"html/template"
@@ -166,9 +167,9 @@ func TestDelimit(t *testing.T) {
var err error
if test.last == nil {
- result, err = ns.Delimit(test.seq, test.delimiter)
+ result, err = ns.Delimit(context.Background(), test.seq, test.delimiter)
} else {
- result, err = ns.Delimit(test.seq, test.delimiter, test.last)
+ result, err = ns.Delimit(context.Background(), test.seq, test.delimiter, test.last)
}
c.Assert(err, qt.IsNil, errMsg)