lean4-htt/tests/lean/run/parseCore.lean
Leonardo de Moura 9c0bd9dd41 chore: fix tests
2020-05-26 15:05:00 -07:00

11 lines
325 B
Text

import Lean.Parser
def test : IO Unit :=
if System.Platform.isWindows then
pure () -- TODO investigate why the following doesn't work on Windows
else do
env ← Lean.mkEmptyEnvironment;
_ ← Lean.Parser.parseFile env (System.mkFilePath ["..", "..", "..", "src", "Init", "Core.lean"]);
IO.println "done"
#eval test