mirror of
https://github.com/charmbracelet/lipgloss.git
synced 2024-09-11 22:17:12 +03:00
test: fix argument order
This commit is contained in:
parent
0ce5550901
commit
09292df479
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user