summaryrefslogtreecommitdiff
path: root/tests/modules/string/serialize
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-25 19:45:45 +0800
committerOpportunityLiu <[email protected]>2019-07-25 19:46:54 +0800
commitb724d37e01b4a12d1b5eea3a9a866ba4b8c4e46d (patch)
treea8d30f410a7e99824923633c956588bcc18498b2 /tests/modules/string/serialize
parent68f96b225c4da758a87a90f5723025be7b2fafc1 (diff)
fix style
Diffstat (limited to 'tests/modules/string/serialize')
-rw-r--r--tests/modules/string/serialize/test.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modules/string/serialize/test.lua b/tests/modules/string/serialize/test.lua
index 1ab3852ba..567bee87f 100644
--- a/tests/modules/string/serialize/test.lua
+++ b/tests/modules/string/serialize/test.lua
@@ -3,7 +3,9 @@ function roundtrip(round0)
local round1 = string.serialize(round0, false):deserialize()
local round2 = string.serialize(round1, true):deserialize()
local round3 = string.serialize(round2, {binary=true}):deserialize()
- return round3
+ local round4 = string.serialize(round3, {indent=16}):deserialize()
+ local round5 = string.serialize(round4, {indent=" \r\n\t"}):deserialize()
+ return round5
end
function test_number(t)