aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/core_moduleapi_spec.lua2
-rw-r--r--spec/util_json_spec.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/core_moduleapi_spec.lua b/spec/core_moduleapi_spec.lua
index b0364d81..20431935 100644
--- a/spec/core_moduleapi_spec.lua
+++ b/spec/core_moduleapi_spec.lua
@@ -70,7 +70,7 @@ describe("core.moduleapi", function()
it("should return handle arrays", function()
test_option_value({1, 2, 3}, { boolean = true, string = "1", number = 1, array = {1, 2, 3}, set = {1, 2, 3} });
test_option_value({1, 2, 3, 3, 4}, {boolean = true, string = "1", number = 1, array = {1, 2, 3, 3, 4}, set = {1, 2, 3, 4} });
- test_option_value({0, 1, 2, 3}, { boolean = false, string = "0", number = 0, array = {0, 1, 2, 3}, set = {0, 1, 2, 3} });
+ test_option_value({0, 1, 2, 3}, { boolean = false, string = "0", number = 0, array = {0, 1, 2, 3}, set = {0, 1, 2, 3} });
end);
end)
end)
diff --git a/spec/util_json_spec.lua b/spec/util_json_spec.lua
index b9c8ab8b..dc66c7ba 100644
--- a/spec/util_json_spec.lua
+++ b/spec/util_json_spec.lua
@@ -64,7 +64,7 @@ describe("util.json", function()
for name, content in pairs(invalid_data) do
local parsed, err = json.decode(content);
assert(not parsed, name..": "..tostring(err));
- end
+ end
end);
end)
end);