mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-10 17:38:13 +08:00
TESTING: Fix reversed got/want output in compareconfig_test.go (#3070)
This commit is contained in:
parent
62112d15a6
commit
2944eded30
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ compFn: <nil>
|
||||||
got := strings.TrimSpace(cc.String())
|
got := strings.TrimSpace(cc.String())
|
||||||
tt.want = strings.TrimSpace(tt.want)
|
tt.want = strings.TrimSpace(tt.want)
|
||||||
if got != tt.want {
|
if got != tt.want {
|
||||||
d := diff.Diff(got, tt.want)
|
d := diff.Diff(tt.want, got)
|
||||||
t.Errorf("NewCompareConfig() = \n%s\n", d)
|
t.Errorf("NewCompareConfig() = \n%s\n", d)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue