From b05b31e31fd70d94c74f4d0fd93d1b567da975af Mon Sep 17 00:00:00 2001 From: Shihyu Ho Date: Sat, 20 Jan 2024 10:23:28 +0800 Subject: [PATCH] feat: update --- main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_test.go b/main_test.go index ae802b5..23ab329 100644 --- a/main_test.go +++ b/main_test.go @@ -18,7 +18,7 @@ func TestMemoryCalculation_WithLoadedClassCount(t *testing.T) { for _, o := range calc.ContributeOptions { options = strings.ReplaceAll(options, o, "") } - if options == " " { + if options == "" { t.Errorf("Execute returned an empty string") } } @@ -37,7 +37,7 @@ func TestMemoryCalculation_WithoutLoadedClassCount(t *testing.T) { for _, o := range calc.ContributeOptions { options = strings.ReplaceAll(options, o, "") } - if options == " " { + if options == "" { t.Errorf("Execute returned an empty string") } }