diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-06 06:27:20 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-06 06:27:20 +0100 |
commit | b03958e5fd3fbfba54c9d6f1ef3a95d10c305130 (patch) | |
tree | 4006f0263ae0b24e759e56c56b9d938e0e8d6f79 /spec | |
parent | 3a3a5f55eb92b38f9fa4470d74090cabfa44df27 (diff) | |
download | prosody-b03958e5fd3fbfba54c9d6f1ef3a95d10c305130.tar.gz prosody-b03958e5fd3fbfba54c9d6f1ef3a95d10c305130.zip |
spec: Trim trailing whitespace
Diffstat (limited to 'spec')
-rw-r--r-- | spec/core_moduleapi_spec.lua | 2 | ||||
-rw-r--r-- | spec/util_json_spec.lua | 2 |
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); |