Skip to content

Commit

Permalink
Remove impossible case to return nill
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopollivier committed May 20, 2024
1 parent bb2f112 commit a08b968
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ func TestHsBool_Boolean(t *testing.T) {

for _, test := range tests {
result := hubspot.NewBoolean(test.input)
if result == nil {
t.Errorf("NewBoolean(%v) = nil; want *HsBool with value %v", test.input, test.expected)
}
if *result != hubspot.HsBool(test.expected) {
t.Errorf("NewBoolean(%v) = %v; want %v", test.input, *result, test.expected)
}
Expand Down

0 comments on commit a08b968

Please sign in to comment.