Skip to content

Commit

Permalink
Disable some tests under 5.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
corsix committed Oct 19, 2016
1 parent bcf938b commit 73139f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/contents.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ do --- math
check(math, "abs:acos:asin:atan:atan2:ceil:cos:cosh:deg:exp:floor:fmod:frexp:huge:ldexp:log:max:min:modf:pi:pow:rad:random:randomseed:sin:sinh:sqrt:tan:tanh", "log10:mod")
end

do --- pre-5.2 math +lua<5.2
do --- pre-5.2 math +lua<5.2 -compat5.2
assert(math.mod)
assert(math.log10)
end
Expand All @@ -68,7 +68,7 @@ do --- string
check(string, "byte:char:dump:find:format:gmatch:gsub:len:lower:match:rep:reverse:sub:upper", "gfind")
end

do --- pre-5.2 string +lua<5.2
do --- pre-5.2 string +lua<5.2 -compat5.2
assert(string.gfind)
end

Expand Down

0 comments on commit 73139f8

Please sign in to comment.