mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
842 B
842 B
Test that the options selector for fuzzy finding is working as expected for different argument types.
If an argument is required but doesn't have a fuzzy resolver, the command should just print the help.
-- The second argument of move.term is a 'new-name' and doesn't have a fuzzy resolver
scratch/main> move.term
If a fuzzy resolver doesn't have any options available it should print a message instead of opening an empty fuzzy-select.
scratch/empty> view
optionOne = 1
nested.optionTwo = 2
Definition args
scratch/main> add
scratch/main> debug.fuzzy-options view _
Namespace args
scratch/main> add
scratch/main> debug.fuzzy-options find-in _
Project Branch args
myproject/main> branch mybranch
scratch/main> debug.fuzzy-options switch _