lean2/tests/lua/opt4.lua
Leonardo de Moura 3ebc099ec5 feat(bindings/lua/options): improve options Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-25 21:05:05 -08:00

4 lines
255 B
Lua

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))