fix spacing

This commit is contained in:
Jeremy S. Postelnek 2021-12-24 13:19:38 -05:00 committed by GitHub
parent 23bc392b6e
commit b01ba8e506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,8 @@ function stringx.split(self, delim, max_split)
assert:type(max_split, "number", "stringx.split - max_split", 1)
if max_split then
assert(max_split > 0, "max_split must be positive!")
end
assert(max_split > 0, "max_split must be positive!")
end
--we try to create as little garbage as possible!
--only one table to contain the result, plus the split strings.