Print Lua version on OK line for confirmation of the version that passed

Fri, 23 Apr 2021 17:54:18 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 23 Apr 2021 17:54:18 +0100
changeset 29
3f77d77806c1
parent 28
0584f8251f88
child 30
b20d4fce3095

Print Lua version on OK line for confirmation of the version that passed

tests/test.lua file | annotate | diff | comparison | revisions
--- a/tests/test.lua	Fri Apr 23 17:53:31 2021 +0100
+++ b/tests/test.lua	Fri Apr 23 17:54:18 2021 +0100
@@ -370,5 +370,4 @@
 collectgarbage(); collectgarbage()
 assert(math.abs(gcinfo() - x) <= 2)
 
-print"OK"
-
+print("OK", _VERSION)

mercurial