Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
przepompownia committed Dec 24, 2024
1 parent e01a9fd commit f589f74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/select/python/selection_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ def __init__(self, *arg):
self.my_list = my_list

print(1, type('1'), ['1'])
print(['1', '2'], 3)
print(['1', '2'])
2 changes: 2 additions & 0 deletions tests/select/python_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ describe("command equality Python:", function()
run:compare_cmds("selection_mode.py", { row = 2, col = 4, cmds = { "dam", "dVam", "vamd", "Vamd" } })
run:compare_cmds("selection_mode.py", { row = 5, col = 8, cmds = { "dVao", "dao" } }, nil, false)
run:compare_cmds("selection_mode.py", { row = 10, col = 17, cmds = { "dia", "dt," } })
run:compare_cmds("selection_mode.py", { row = 11, col = 23, cmds = { "dia", "d%" } })
run:compare_cmds("selection_mode.py", { row = 12, col = 23, cmds = { "dia", "d%" } })
end)

0 comments on commit f589f74

Please sign in to comment.