From 09292df479de8980c9c73f0d81fd69e89cab197d Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 30 Sep 2022 03:58:37 +0200 Subject: [PATCH] test: fix argument order --- color_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/color_test.go b/color_test.go index 83531e0..bbe07f1 100644 --- a/color_test.go +++ b/color_test.go @@ -81,7 +81,7 @@ func TestHexToColor(t *testing.T) { h := hexToColor(tc.input) o := uint(h.R)<<16 + uint(h.G)<<8 + uint(h.B) if o != tc.expected { - t.Errorf("expected %X, got %X (test #%d)", o, tc.expected, i+1) + t.Errorf("expected %X, got %X (test #%d)", tc.expected, o, i+1) } } }