From ecdde8d9753fe7098cc373b75dd4a48bd8c0da6b Mon Sep 17 00:00:00 2001 From: Malte Bauch <malte.bauch@extern.h-da.de> Date: Tue, 19 Apr 2022 14:18:06 +0200 Subject: [PATCH] Linter pleasing --- cli/adapter/PndAdapter_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/adapter/PndAdapter_test.go b/cli/adapter/PndAdapter_test.go index 6cccc3512..1feb4519a 100644 --- a/cli/adapter/PndAdapter_test.go +++ b/cli/adapter/PndAdapter_test.go @@ -384,7 +384,7 @@ func TestPndAdapter_PendingChanges(t *testing.T) { id: tt.fields.id, 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) } }) @@ -409,7 +409,7 @@ func TestPndAdapter_CommittedChanges(t *testing.T) { id: tt.fields.id, 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) } }) -- GitLab