fix: fix linting
This commit is contained in:
parent
c1349c7e40
commit
45a4a7e647
3 changed files with 3 additions and 12 deletions
|
|
@ -113,9 +113,6 @@ func Test_card(t *testing.T) {
|
|||
t.Fatalf("error: %v\nsrc: %s", err, tt.want)
|
||||
}
|
||||
|
||||
//if !reflect.DeepEqual(wantJson, gotJson) {
|
||||
// t.Errorf("card() got = %v, want %v", gotJson, wantJson)
|
||||
//}
|
||||
if diff := cmp.Diff(wantJson, gotJson); diff != "" {
|
||||
t.Errorf("MakeGatewayInfo() mismatch (-want +got):\n%s", diff)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue