lean2/tests/lua/opt4.lua

5 lines
255 B
Lua
Raw Normal View History

local o = options({"pp", "colors"}, true, {"pp", "unicode"}, false)
print(o)
assert(not pcall(function() options({"pp", "colors"}, true, {"pp", "unicode"}) end))
assert(not pcall(function() options({"pp", "colors"}, true, {"pp", "unicodee"}, false) end))