diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-23 16:24:18 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-23 16:24:15 +0100 |
commit | beb423a2d9683dfc07b2f69766e17c32589d489b (patch) | |
tree | 34978338cc9a08e9cb290fe08ddab6673db085a5 /tpl/template_test.go | |
parent | be82b5a94fdc35de315dbccd7bef3d4c2e3d34f5 (diff) |
Rename Slice to Slicestr
Fixes #990
Diffstat (limited to 'tpl/template_test.go')
-rw-r--r-- | tpl/template_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/template_test.go b/tpl/template_test.go index 55f739576..3ea7af978 100644 --- a/tpl/template_test.go +++ b/tpl/template_test.go @@ -276,7 +276,7 @@ func TestIn(t *testing.T) { } } -func TestSlice(t *testing.T) { +func TestSlicestr(t *testing.T) { for i, this := range []struct { v1 interface{} v2 int @@ -292,7 +292,7 @@ func TestSlice(t *testing.T) { {123, 1, 3, "23"}, {tstNoStringer{}, 0, 1, false}, } { - result, err := Slice(this.v1, this.v2, this.v3) + result, err := Slicestr(this.v1, this.v2, this.v3) if b, ok := this.expect.(bool); ok && !b { if err == nil { |