Skip to content

Commit

Permalink
Fix commented test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
medge-mailgun committed Sep 23, 2024
1 parent c99bf26 commit 1dc5951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setter/setter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
// }

Expand All @@ -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")
// }

0 comments on commit 1dc5951

Please sign in to comment.