mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-23 23:39:02 +01:00
Add left scrolling test
This commit is contained in:
parent
fea151261f
commit
8f59b801dd
@ -61,6 +61,8 @@ func TestHScoll(t *testing.T) {
|
||||
testutils.CompareGoldens(t, table.View(), "unittestTable-truncatedTable-right2")
|
||||
table.MoveRight(1)
|
||||
testutils.CompareGoldens(t, table.View(), "unittestTable-truncatedTable-right3")
|
||||
table.MoveLeft(1)
|
||||
testutils.CompareGoldens(t, table.View(), "unittestTable-truncatedTable-right2")
|
||||
}
|
||||
|
||||
func deepEqual(a, b []Row) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user