Skip to content
Snippets Groups Projects
Commit ecdde8d9 authored by Malte Bauch's avatar Malte Bauch
Browse files

Linter pleasing

parent 70a09b46
Branches
Tags
1 merge request!284Improve usability and better output formatting for gosndc
This commit is part of merge request !284. Comments created here will be created in the context of that merge request.
...@@ -384,7 +384,7 @@ func TestPndAdapter_PendingChanges(t *testing.T) { ...@@ -384,7 +384,7 @@ func TestPndAdapter_PendingChanges(t *testing.T) {
id: tt.fields.id, id: tt.fields.id,
endpoint: tt.fields.endpoint, endpoint: tt.fields.endpoint,
} }
if got := p.PendingChanges(); !reflect.DeepEqual(got, tt.want) { if got, _ := p.PendingChanges(); !reflect.DeepEqual(got, tt.want) {
t.Errorf("PndAdapter.PendingChanges() = %v, want %v", got, tt.want) t.Errorf("PndAdapter.PendingChanges() = %v, want %v", got, tt.want)
} }
}) })
...@@ -409,7 +409,7 @@ func TestPndAdapter_CommittedChanges(t *testing.T) { ...@@ -409,7 +409,7 @@ func TestPndAdapter_CommittedChanges(t *testing.T) {
id: tt.fields.id, id: tt.fields.id,
endpoint: tt.fields.endpoint, endpoint: tt.fields.endpoint,
} }
if got := p.CommittedChanges(); !reflect.DeepEqual(got, tt.want) { if got, _ := p.CommittedChanges(); !reflect.DeepEqual(got, tt.want) {
t.Errorf("PndAdapter.CommittedChanges() = %v, want %v", got, tt.want) t.Errorf("PndAdapter.CommittedChanges() = %v, want %v", got, tt.want)
} }
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment