From 8e8337a42d865f72888ff94d8f13a5bfb82d0d52 Mon Sep 17 00:00:00 2001 From: Rashit Azizbaev Date: Wed, 13 Jan 2021 23:42:30 +0300 Subject: [PATCH] Fix tests for template_funcs --- pkg/template/template_funcs_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }