aboutsummaryrefslogtreecommitdiff
path: root/spec/config_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-02-29 00:46:06 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-02-29 15:46:16 +0000
commitf76b7a2b13e411df2e696146bb0a6396781acd92 (patch)
tree38ed32f81f05f6eacd03f36eacd5341e7b1d17dd /spec/config_spec.lua
parent0ca8c460e867356342180bb625760ed9201a5503 (diff)
downloadluarocks-f76b7a2b13e411df2e696146bb0a6396781acd92.tar.gz
luarocks-f76b7a2b13e411df2e696146bb0a6396781acd92.tar.bz2
luarocks-f76b7a2b13e411df2e696146bb0a6396781acd92.zip
tests: speed up and simplify
Diffstat (limited to 'spec/config_spec.lua')
-rw-r--r--spec/config_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/config_spec.lua b/spec/config_spec.lua
index 6bfac433..9dd8fbcb 100644
--- a/spec/config_spec.lua
+++ b/spec/config_spec.lua
@@ -142,7 +142,7 @@ describe("LuaRocks config tests #integration", function()
142 142
143 it("can read as JSON", function() 143 it("can read as JSON", function()
144 local output = run.luarocks("config rocks_trees --json") 144 local output = run.luarocks("config rocks_trees --json")
145 assert.match('^%["', output) 145 assert.match('^%[{', output)
146 end) 146 end)
147 147
148 it("reads an array -> hash config key", function() 148 it("reads an array -> hash config key", function()