Skip to content
Snippets Groups Projects

Improve usability and better output formatting for gosndc

Merged Malte Bauch requested to merge cli-refactoring-pterm into develop
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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)
}
})
Loading