diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-21 22:30:40 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-21 22:43:05 -0300 |
| commit | f4fda82fdef92e31cf9be6478793ee648eaea557 (patch) | |
| tree | bd43b43a99111cd43be2b9020d11dbbd2f65809b /spec/list_spec.lua | |
| parent | a75d447e10bb7842cdbed0bb494697ddd88fd455 (diff) | |
| download | luarocks-f4fda82fdef92e31cf9be6478793ee648eaea557.tar.gz luarocks-f4fda82fdef92e31cf9be6478793ee648eaea557.tar.bz2 luarocks-f4fda82fdef92e31cf9be6478793ee648eaea557.zip | |
tests: introduce quick tests
Diffstat (limited to 'spec/list_spec.lua')
| -rw-r--r-- | spec/list_spec.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/list_spec.lua b/spec/list_spec.lua index 54c63bea..4c7fc776 100644 --- a/spec/list_spec.lua +++ b/spec/list_spec.lua | |||
| @@ -38,9 +38,4 @@ describe("luarocks list #integration", function() | |||
| 38 | assert.is.truthy(output:find("say")) | 38 | assert.is.truthy(output:find("say")) |
| 39 | assert.matches("1.0-1 < ", output, 1, true) | 39 | assert.matches("1.0-1 < ", output, 1, true) |
| 40 | end) | 40 | end) |
| 41 | |||
| 42 | it("invalid tree", function() | ||
| 43 | local output = run.luarocks("--tree=/some/invalid/tree list") | ||
| 44 | assert(output:find("Rocks installed for Lua "..test_env.lua_version.." in /some/invalid/tree", 1, true)) | ||
| 45 | end) | ||
| 46 | end) | 41 | end) |
