lean4-htt/tests/lean/run/parseCore.lean
Leonardo de Moura fa101444b4 chore: fix tests
2020-10-25 09:11:13 -07:00

12 lines
335 B
Text

#lang lean4
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
let env ← Lean.mkEmptyEnvironment;
Lean.Parser.parseFile env (System.mkFilePath ["..", "..", "..", "src", "Init", "Core.lean"]);
IO.println "done"
#eval test