This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.
49 lines
943 B
Text
49 lines
943 B
Text
example (n : Nat) : True := by
|
|
induction n
|
|
case zero => sorry -- `zero` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n
|
|
case zero => sorry
|
|
-- `succ` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n
|
|
case' zero => sorry -- `zero` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n
|
|
case' zero => sorry
|
|
-- `succ` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n
|
|
next => sorry -- `zero` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n
|
|
next => sorry
|
|
-- `succ` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n with
|
|
| zero => sorry -- `zero` goal
|
|
--^ $/lean/plainGoal
|
|
|
|
example (n : Nat) : True := by
|
|
induction n with
|
|
| zero => sorry
|
|
-- No goals
|
|
--^ $/lean/plainGoal
|
|
|
|
example : True := by
|
|
suffices True by
|
|
-- Goal assuming `True`
|
|
--^ $/lean/plainGoal
|
|
sorry
|