From 1dc5951f60874b0363b3bc9afb6f308f25795dbb Mon Sep 17 00:00:00 2001 From: Matthew Edge Date: Mon, 23 Sep 2024 09:05:38 -0400 Subject: [PATCH] Fix commented test methods --- setter/setter_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setter/setter_test.go b/setter/setter_test.go index f80a632..85fe416 100644 --- a/setter/setter_test.go +++ b/setter/setter_test.go @@ -277,7 +277,7 @@ func TestSetterNew_IsEmpty(t *testing.T) { // var thing string // // Should panic -// setter.SetDefaultNew(&thing, 1) +// setter.Default(&thing, 1) // assert.Fail(t, "Should have caught panic") // } @@ -291,6 +291,6 @@ func TestSetterNew_IsEmpty(t *testing.T) { // var thing string // // Should panic -// setter.SetDefaultNew(thing, "thrawn") +// setter.Default(thing, "thrawn") // assert.Fail(t, "Should have caught panic") // }