diff --git a/pkg/template/template_funcs_test.go b/pkg/template/template_funcs_test.go index 279bbb92..a54b40be 100644 --- a/pkg/template/template_funcs_test.go +++ b/pkg/template/template_funcs_test.go @@ -110,10 +110,10 @@ func (s *FunctionTestSuite) TestInterfaceSet(t *C) { set.Append(true) set.Append(false) - t.Check(len(set.S), Equals, 4) + t.Check(len(set), Equals, 4) t.Check(set.Contains("Hallo"), Equals, true) set.Remove("Hallo") - t.Check(len(set.S), Equals, 3) + t.Check(len(set), Equals, 3) t.Check(set.Contains("Hallo"), Equals, false) t.Check(set.Contains(false), Equals, true) }