fix(tests/lean/unfold_crash): fixed regression test for bug reported by Rob

This commit is contained in:
Leonardo de Moura 2015-07-28 12:51:42 -07:00
parent cfa9412f96
commit 8ee1d35bed
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,6 @@ open nat
example (a b : nat) : a = succ b → a = b + 1 :=
begin
intro h,
try (unfold succ at h)
try (unfold succ at h),
unfold succ at h
end

View file

@ -1 +1 @@
unfold_crash.lean:8:2: error: invalid 'begin-end' expression, ',' expected
unfold_crash.lean:8:9: error: invalid 'unfold', 'nat.succ' is not a definition