test: add corner case

This commit is contained in:
Leonardo de Moura 2019-11-12 13:59:24 -08:00
parent ad9466028a
commit 0193ead596

View file

@ -87,6 +87,8 @@ do let f := Expr.const `f [];
IO.println t;
unless (t.etaExpanded? == some (Expr.app f a)) $ throw "failed-8";
IO.println t.etaExpanded?;
let t := Expr.app f a;
unless (t.etaExpanded? == some (Expr.app f a)) $ throw "failed-9";
pure ()
#eval tst5