diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/search.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/search.sh b/tests/search.sh index d83427247d3e..0b26a125120f 100644 --- a/tests/search.sh +++ b/tests/search.sh @@ -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 |