Skip to content

Commit

Permalink
removing extraneous debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sebito91 committed Mar 9, 2018
1 parent 87520c6 commit f28a1aa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9293,12 +9293,8 @@ func TestServer_AlertHandlers(t *testing.T) {
},
}}

// if !reflect.DeepEqual(exp, got) {
// return fmt.Errorf("unexpected pagerduty2 request:\nexp\n%+v\ngot\n%+v\n", exp[0].PostData.Payload, got[0].PostData.Payload)
// }
fmt.Printf("unexpected pagerduty2 request:\nexp\n%+v\ngot\n%+v\n", exp[0].PostData.Payload, got[0].PostData.Payload)
if err := compareListIgnoreOrder([]interface{}{got}, []interface{}{exp}, nil); err != nil {
t.Error(err)
if !reflect.DeepEqual(exp, got) {
return fmt.Errorf("unexpected pagerduty2 request:\nexp\n%+v\ngot\n%+v\n", exp, got)
}

return nil
Expand Down

0 comments on commit f28a1aa

Please sign in to comment.