mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
tests: replace godebug by go-cmp for structure diffs
go-cmp is stricter and allow to catch more problems. Moreover, the output is a bit nicer.
This commit is contained in:
@@ -236,7 +236,7 @@ func TestParametrizedConfig(t *testing.T) {
|
||||
Expected: OuterConfiguration{
|
||||
AA: "a1",
|
||||
BB: "b1",
|
||||
Config: InnerConfigurationType1{
|
||||
Config: &InnerConfigurationType1{
|
||||
CC: "c1",
|
||||
DD: "d1",
|
||||
},
|
||||
@@ -256,7 +256,7 @@ func TestParametrizedConfig(t *testing.T) {
|
||||
Expected: OuterConfiguration{
|
||||
AA: "a2",
|
||||
BB: "b2",
|
||||
Config: InnerConfigurationType2{
|
||||
Config: &InnerConfigurationType2{
|
||||
CC: "c2",
|
||||
EE: "e2",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user