mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
app/config/config_test.go: fix parameter order to require.Equal()
This commit is contained in:
parent
e723e81786
commit
fad70e19b9
1 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ func TestNew(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
require.Equal(t, New(), expected)
|
require.Equal(t, expected, New())
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestReadYAML(t *testing.T) {
|
func TestReadYAML(t *testing.T) {
|
||||||
|
|
@ -96,7 +96,7 @@ redis:
|
||||||
`))
|
`))
|
||||||
|
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, cfg, expected)
|
require.Equal(t, expected, cfg)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestReadYAMLShorthandShipUrl(t *testing.T) {
|
func TestReadYAMLShorthandShipUrl(t *testing.T) {
|
||||||
|
|
@ -144,5 +144,5 @@ redis:
|
||||||
`))
|
`))
|
||||||
|
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, cfg, expected)
|
require.Equal(t, expected, cfg)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue