From 766f34ae9626acaee71be36fb27c40859f22f389 Mon Sep 17 00:00:00 2001 From: SURESH ALEX A <52942512+sureshalexai@users.noreply.github.com> Date: Fri, 26 Jan 2024 13:12:49 +0800 Subject: [PATCH] cfg_test.go Changed the value from bool to duration in the Function TestNew --- cfg/cfg_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg/cfg_test.go b/cfg/cfg_test.go index 416fc27..8a94466 100644 --- a/cfg/cfg_test.go +++ b/cfg/cfg_test.go @@ -362,9 +362,9 @@ func TestSets(t *testing.T) { if dVal != retDurVal { t.Log(dVal) t.Log(retDurVal) - t.Errorf("\t\t%s Should return the bool value \"%v\" that was set.", failed, dVal) + t.Errorf("\t\t%s Should return the duration value \"%v\" that was set.", failed, dVal) } else { - t.Logf("\t\t%s Should return the bool value \"%v\" that was set.", success, dVal) + t.Logf("\t\t%s Should return the duration value \"%v\" that was set.", success, dVal) } } }