summary refs log tree commit diff stats
path: root/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test.lua')
-rw-r--r--test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.lua b/test.lua
index ef0a586..f9648eb 100644
--- a/test.lua
+++ b/test.lua
@@ -315,7 +315,7 @@ end -- keywords
 
 do -- FUCK
     local luatokens = require "luatokens"
-    local luatokens_file = io.open("./luatokens.lua", "r"):read((_VERSION == "5.1" or _VERSION == "5.2") and "*a" or "a")
+    local luatokens_file = io.open("./luatokens.lua", "r"):read((_VERSION == "Lua 5.1" or _VERSION == "Lua 5.2") and "*a" or "a")
     local tokens = luatokens.defs
     local state, err, etoken, estate = parser.parse(tokens, luatokens_file)
     local case = case()