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