aboutsummaryrefslogtreecommitdiff
path: root/valua-test.lua
diff options
context:
space:
mode:
authorEtiene Dalcol <Etiene@users.noreply.github.com>2017-09-26 13:07:58 +0100
committerGitHub <noreply@github.com>2017-09-26 13:07:58 +0100
commitb48176ea59c485056b07bd6f01aad5c6407c27d9 (patch)
treea583321f2e160c1c5e89bb612dc1ea2c3865fdf3 /valua-test.lua
parentfaadfbd2a948ec053d1c705b3bc8cd3d990c9f51 (diff)
parent28b2fc636d658daaf1a64f57e137b78d4330b2b6 (diff)
downloadvalua-b48176ea59c485056b07bd6f01aad5c6407c27d9.tar.gz
valua-b48176ea59c485056b07bd6f01aad5c6407c27d9.tar.bz2
valua-b48176ea59c485056b07bd6f01aad5c6407c27d9.zip
Merge pull request #18 from fperrad/noconv
Fix with Lua 5.3 no-conversion
Diffstat (limited to 'valua-test.lua')
-rw-r--r--valua-test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/valua-test.lua b/valua-test.lua
index a4cb0dd..c12a1a4 100644
--- a/valua-test.lua
+++ b/valua-test.lua
@@ -3,7 +3,7 @@ local passing = true
local function check(val_test, test_value, expected, n)
local res,err = val_test(test_value)
- local msg = "Validation "..n.." "
+ local msg = "Validation "..tostring(n).." "
if res == expected then
msg = msg.. "succeeded"