fix incorrect want/got order

This commit is contained in:
John Behm 2024-06-23 21:21:39 +02:00
parent 4cb087920c
commit 9538782751
No known key found for this signature in database
GPG key ID: 27E649794654ED04

View file

@ -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{