fix incorrect want/got order
This commit is contained in:
parent
4cb087920c
commit
9538782751
|
@ -44,7 +44,7 @@ func TestPackStartInfo(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
got := info.Pack()
|
got := info.Pack()
|
||||||
require.Equal(t, got, want)
|
require.Equal(t, want, got)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestUnpackStartInfo(t *testing.T) {
|
func TestUnpackStartInfo(t *testing.T) {
|
||||||
|
@ -67,7 +67,7 @@ func TestUnpackStartInfo(t *testing.T) {
|
||||||
{
|
{
|
||||||
want := "standard"
|
want := "standard"
|
||||||
got := info.Eyes
|
got := info.Eyes
|
||||||
require.Equal(t, got, want)
|
require.Equal(t, want, got)
|
||||||
|
|
||||||
want = ""
|
want = ""
|
||||||
got = info.Decoration
|
got = info.Decoration
|
||||||
|
@ -77,13 +77,13 @@ func TestUnpackStartInfo(t *testing.T) {
|
||||||
|
|
||||||
want = "duodonny"
|
want = "duodonny"
|
||||||
got = info.Marking
|
got = info.Marking
|
||||||
require.Equal(t, got, want)
|
require.Equal(t, want, got)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
want := 65408
|
want := 65408
|
||||||
got := info.ColorDecoration
|
got := info.ColorDecoration
|
||||||
require.Equal(t, got, want)
|
require.Equal(t, want, got)
|
||||||
}
|
}
|
||||||
|
|
||||||
wantedInfo := ClStartInfo{
|
wantedInfo := ClStartInfo{
|
||||||
|
|
Loading…
Reference in a new issue