From ef5636197afb2858f5a2b8738936367b826395b2 Mon Sep 17 00:00:00 2001 From: bhattigurjot Date: Sat, 19 Mar 2016 19:23:15 +0530 Subject: Add tests for search query --- test/testing.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/testing.sh b/test/testing.sh index a41f4d06..f29a9cc6 100755 --- a/test/testing.sh +++ b/test/testing.sh @@ -450,6 +450,9 @@ fail_remove_invalid_name() { $luarocks remove invalid.rock; } test_search_found() { $luarocks search zlib; } test_search_missing() { $luarocks search missing_rock; } +test_search_version() { $luarocks search zlib 1.1; } +test_search_all() { $luarocks search --all; } +fail_search_nostring() { $var=123; $luarocks search $var; } test_show() { $luarocks show luacov; } test_show_modules() { $luarocks show --modules luacov; } -- cgit v1.2.3-55-g6feb