forked from lix-project/lix
add tests for multi search
This commit is contained in:
parent
b712d4674b
commit
f6e8ceafa6
|
@ -29,6 +29,11 @@ clearCache
|
||||||
# Check search that matches nothing
|
# Check search that matches nothing
|
||||||
(( $(nix search nosuchpackageexists | wc -l) == 0 ))
|
(( $(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
|
## Search expressions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue