diff options
Diffstat (limited to 'tpl/site/init_test.go')
-rw-r--r-- | tpl/site/init_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tpl/site/init_test.go b/tpl/site/init_test.go index f4c2ecd5c..46af2ef5b 100644 --- a/tpl/site/init_test.go +++ b/tpl/site/init_test.go @@ -43,5 +43,7 @@ func TestInit(t *testing.T) { } c.Assert(found, qt.Equals, true) - c.Assert(ns.Context(), hqt.IsSameType, s) + ctx, err := ns.Context() + c.Assert(err, qt.IsNil) + c.Assert(ctx, hqt.IsSameType, s) } |