aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-06 06:27:20 +0100
committerKim Alvefur <zash@zash.se>2018-03-06 06:27:20 +0100
commit77ec8a1b6e3566ed1cbe7a93697f32a8c0703acd (patch)
tree4006f0263ae0b24e759e56c56b9d938e0e8d6f79
parentd03099c7ccb22d9f6fc153fdc528bd8931be4c31 (diff)
downloadprosody-77ec8a1b6e3566ed1cbe7a93697f32a8c0703acd.tar.gz
prosody-77ec8a1b6e3566ed1cbe7a93697f32a8c0703acd.zip
spec: Trim trailing whitespace
-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);