Debian Codegraph @

test-suite/ide/undo021.fake

raw
1 # Script simulating a dialog between rocqide and coqtop -ideslave
2 # Run it via fake_ide
3 #
4 # jumping between broken proofs
5
6 # first proof
7 ADD { Lemma a : True. }
8 ADD { Proof using. }
9 ADD here { idtac. }
10 ADD { exact Ix. }
11 ADD { Qed. }
12 # second proof
13 ADD { Lemma b : True. }
14 ADD here2 { Proof using. }
15 ADD { exact Ix. }
16 ADD { Qed. }
17 # We wait all slaves and expect both proofs to fail
18 WAIT
19 # Going back to the error
20 EDIT_AT here2
21 # this is not implemented yet, all after here is erased
22 EDIT_AT here
23 # Fixing the proof
24 ADD { exact I. }
25 ADD last { Qed. }
26 ASSERT TIP last
27 # we are back at the end
28 QUERY { Check a. }
29 QUERY { Fail Check b. }