summaryrefslogtreecommitdiff
path: root/test-suite/ide/undo001.fake
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/ide/undo001.fake')
-rw-r--r--test-suite/ide/undo001.fake10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/ide/undo001.fake b/test-suite/ide/undo001.fake
new file mode 100644
index 00000000..bbaea7e7
--- /dev/null
+++ b/test-suite/ide/undo001.fake
@@ -0,0 +1,10 @@
+# Script simulating a dialog between coqide and coqtop -ideslave
+# Run it via fake_ide
+#
+# Simple backtrack by 1 between two global definitions
+#
+INTERP Definition foo := 0.
+INTERP Definition bar := 1.
+REWIND 1
+INTERPRAW Check foo.
+INTERPRAW Fail Check bar.