summaryrefslogtreecommitdiff
path: root/test-suite/ide/undo004.fake
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/ide/undo004.fake')
-rw-r--r--test-suite/ide/undo004.fake14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/ide/undo004.fake b/test-suite/ide/undo004.fake
new file mode 100644
index 00000000..c2ddfb8c
--- /dev/null
+++ b/test-suite/ide/undo004.fake
@@ -0,0 +1,14 @@
+# Script simulating a dialog between coqide and coqtop -ideslave
+# Run it via fake_ide
+#
+# Undoing arbitrary commands, as first step
+#
+INTERP Theorem a : O=O.
+INTERP Ltac f x := x.
+REWIND 1
+# <replay>
+INTERP Ltac f x := x.
+# <\replay>
+INTERP assert True by trivial.
+INTERP trivial.
+INTERP Qed.