aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/config/yaml_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/config/yaml_test.go b/pkg/config/yaml_test.go
index 09f721d..c8d6071 100644
--- a/pkg/config/yaml_test.go
+++ b/pkg/config/yaml_test.go
@@ -45,7 +45,7 @@ func TestBuildOptions(tst *testing.T) {
tst.Run(tt.name, func(tst *testing.T) {
out, unk := buildOptions(&tt.opts, tt.inp)
- if diff := cmp.Diff(out, tt.out); diff != "" {
+ if diff := cmp.Diff(tt.out, out); diff != "" {
tst.Error(diff)
}
@@ -197,7 +197,7 @@ func TestBuildFeeds(tst *testing.T) {
tst.Errorf("buildFeeds() error = %v, wantErr %v", err, tt.wantErr)
return
}
- if diff := cmp.Diff(feeds, tt.result); !tt.wantErr && diff != "" {
+ if diff := cmp.Diff(tt.result, feeds); !tt.wantErr && diff != "" {
tst.Error(diff)
}
})
@@ -373,7 +373,7 @@ feeds:
}
if err == nil {
- if diff := cmp.Diff(got, tt.config, eqNode); diff != "" {
+ if diff := cmp.Diff(tt.config, got, eqNode); diff != "" {
tst.Error(diff)
}
}