aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/ide/undo010.fake
blob: 524416c32b66463b195084e4cfd80215bc6aca93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Script simulating a dialog between coqide and coqtop -ideslave
# Run it via fake_ide
#
# Undoing declarations, interleaved with proof steps and commands *)
# new in 8.2 *)
#
ADD { Theorem n : O=O. }
ADD s2 { assert True by trivial. }
ADD s3 { Definition o := O. }
ADD s4 { Ltac h x := x. }
ADD s5 { assert True by trivial. }
ADD s6 { Focus. }
ADD { Definition p := O. }
EDIT_AT s6
EDIT_AT s5
EDIT_AT s4
EDIT_AT s3
EDIT_AT s2
# <replay>
ADD { Definition o := O. }
ADD { Ltac h x := x. }
ADD { assert True by trivial. } 
ADD { Focus. }
ADD { Definition p := O. }
# </replay>
ADD { assert True by trivial. }
ADD { trivial. }
ADD { Qed. }