Software /
code /
prosody
Changeset
8562:a6188f5d5bb5
spec: Trim trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Mar 2018 06:27:20 +0100 |
parents | 8561:7b9ffddc4276 |
children | 8563:50f2ad088589 |
files | spec/core_moduleapi_spec.lua spec/util_json_spec.lua |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/core_moduleapi_spec.lua Tue Mar 06 01:45:58 2018 +0100 +++ b/spec/core_moduleapi_spec.lua Tue Mar 06 06:27:20 2018 +0100 @@ -70,7 +70,7 @@ 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)
--- a/spec/util_json_spec.lua Tue Mar 06 01:45:58 2018 +0100 +++ b/spec/util_json_spec.lua Tue Mar 06 06:27:20 2018 +0100 @@ -64,7 +64,7 @@ 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);