add tests for multi search

This commit is contained in:
Daniel Poelzleithner 2018-04-18 21:45:46 +02:00
parent b712d4674b
commit f6e8ceafa6

View file

@ -29,6 +29,11 @@ clearCache
# Check search that matches nothing
(( $(nix search nosuchpackageexists | wc -l) == 0 ))
# Search for multiple arguments
(( $(nix search hello empty | wc -l) == 5 ))
# Multiple arguments will not exist
(( $(nix search hello broken | wc -l) == 0 ))
## Search expressions