mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Fix arg order to asserts
This commit is contained in:
@ -79,7 +79,7 @@ func TestGetPadWidths(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
output := getPadWidths(test.input)
|
||||
assert.EqualValues(t, output, test.expected)
|
||||
assert.EqualValues(t, test.expected, output)
|
||||
}
|
||||
}
|
||||
|
||||
@ -217,6 +217,6 @@ func TestRenderDisplayStrings(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
output := RenderDisplayStrings(test.input, test.columnAlignments)
|
||||
assert.EqualValues(t, output, test.expected)
|
||||
assert.EqualValues(t, test.expected, output)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user