Skip to content

Commit

Permalink
Remove redundant deepequals
Browse files Browse the repository at this point in the history
  • Loading branch information
rpotla committed Dec 4, 2023
1 parent d045c70 commit 15e5f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/linode/loadbalancers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func testCreateNodeBalancerWithInvalidFirewall(t *testing.T, client *linodego.Cl
firewallID := "qwerty"
expectedError := "strconv.Atoi: parsing \"qwerty\": invalid syntax"
err := testCreateNodeBalancer(t, client, f, &firewallID)
if !reflect.DeepEqual(err.Error(), expectedError) {
if err.Error() != expectedError {
t.Fatalf("expected a %s error, got %v", expectedError, err)
}
}
Expand Down

0 comments on commit 15e5f7a

Please sign in to comment.