diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-04-19T08·38+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-19T08·38+0200 |
commit | 6f907b7571c792a8e33173fe41264b9cd0b750d9 (patch) | |
tree | 7688d0c3f5b8a6060738c2eec9fd815e257d5050 /tests/search.sh | |
parent | b37f5ae31dc0a0cbfa7e5bbf6b199e7e39c287ac (diff) | |
parent | f6e8ceafa68adcdd1f3683beaabff31d55c4d58e (diff) |
Merge pull request #2090 from poelzi/multi_search
Allow multiple search experssions in nix search
Diffstat (limited to 'tests/search.sh')
-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 |