Skip to content

Commit 1dc5951

Browse files
committed
Fix commented test methods
1 parent c99bf26 commit 1dc5951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setter/setter_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func TestSetterNew_IsEmpty(t *testing.T) {
277277

278278
// var thing string
279279
// // Should panic
280-
// setter.SetDefaultNew(&thing, 1)
280+
// setter.Default(&thing, 1)
281281
// assert.Fail(t, "Should have caught panic")
282282
// }
283283

@@ -291,6 +291,6 @@ func TestSetterNew_IsEmpty(t *testing.T) {
291291

292292
// var thing string
293293
// // Should panic
294-
// setter.SetDefaultNew(thing, "thrawn")
294+
// setter.Default(thing, "thrawn")
295295
// assert.Fail(t, "Should have caught panic")
296296
// }

0 commit comments

Comments
 (0)