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()
require.Equal(t, got, want)
require.Equal(t, want, got)
}
func TestUnpackStartInfo(t *testing.T) {
@ -67,7 +67,7 @@ func TestUnpackStartInfo(t *testing.T) {
{
want := "standard"
got := info.Eyes
require.Equal(t, got, want)
require.Equal(t, want, got)
want = ""
got = info.Decoration
@ -77,13 +77,13 @@ func TestUnpackStartInfo(t *testing.T) {
want = "duodonny"
got = info.Marking
require.Equal(t, got, want)
require.Equal(t, want, got)
}
{
want := 65408
got := info.ColorDecoration
require.Equal(t, got, want)
require.Equal(t, want, got)
}
wantedInfo := ClStartInfo{