add tests for multi search
This commit is contained in:
parent
b712d4674b
commit
f6e8ceafa6
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue