diff options
author | Cameron Moore <moorereason@gmail.com> | 2017-05-09 20:24:23 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-20 00:00:20 +0300 |
commit | 3954160a21bcde7d4f4c077f9cc9daa610f3e29e (patch) | |
tree | 217ce5d0a0ba3cb56f687a03b7c87a65e28cf522 /tpl/time/init_test.go | |
parent | 93c5774dd70b63c8b5e9268778a355c50b590bb6 (diff) |
tpl/time: Support overlapping namespace and template func
Fixes #3421
Diffstat (limited to 'tpl/time/init_test.go')
-rw-r--r-- | tpl/time/init_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/time/init_test.go b/tpl/time/init_test.go index a41d8e4f3..fd49dc4be 100644 --- a/tpl/time/init_test.go +++ b/tpl/time/init_test.go @@ -34,5 +34,5 @@ func TestInit(t *testing.T) { } require.True(t, found) - require.IsType(t, &Namespace{}, ns.Context.(func() interface{})()) + require.IsType(t, &Namespace{}, ns.Context.(func(v ...interface{}) interface{})()) } |