From 953878275181d7821628e9cd0e9d73651d7f40e5 Mon Sep 17 00:00:00 2001 From: John Behm Date: Sun, 23 Jun 2024 21:21:39 +0200 Subject: [PATCH] fix incorrect want/got order --- messages7/cl_start_info_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/messages7/cl_start_info_test.go b/messages7/cl_start_info_test.go index 231c985..aafe2d1 100644 --- a/messages7/cl_start_info_test.go +++ b/messages7/cl_start_info_test.go @@ -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{