fix(tests/lean/unfold_crash): fixed regression test for bug reported by Rob
This commit is contained in:
parent
cfa9412f96
commit
8ee1d35bed
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ open nat
|
||||||
example (a b : nat) : a = succ b → a = b + 1 :=
|
example (a b : nat) : a = succ b → a = b + 1 :=
|
||||||
begin
|
begin
|
||||||
intro h,
|
intro h,
|
||||||
try (unfold succ at h)
|
try (unfold succ at h),
|
||||||
unfold succ at h
|
unfold succ at h
|
||||||
end
|
end
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue