From 28b2fc636d658daaf1a64f57e137b78d4330b2b6 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 23 Sep 2017 09:29:47 +0200 Subject: use explicit tostring --- valua-test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'valua-test.lua') 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" -- cgit v1.2.3-70-g09d2