aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-03-04 16:47:16 +0100
committerEmilio Jesus Gallego Arias2019-03-04 16:47:16 +0100
commit11d1c70ce0747d03c849df1362119d4ccaccb443 (patch)
treea9337577d0de316ccae439b80a05cb9556900b4c /test-suite
parentbe15d32ad16104c81f4fbf42556067848aa0acec (diff)
parent745669e29695b68b0c6aa9dbe27a835e43c87308 (diff)
Merge PR #9688: [stm] unfocus when edition exits the proof (fix #9431)
Reviewed-by: ejgallego
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/ide/reopen1.fake22
1 files changed, 22 insertions, 0 deletions
diff --git a/test-suite/ide/reopen1.fake b/test-suite/ide/reopen1.fake
new file mode 100644
index 0000000000..2c4f13de86
--- /dev/null
+++ b/test-suite/ide/reopen1.fake
@@ -0,0 +1,22 @@
+# Script simulating a dialog between coqide and coqtop -ideslave
+# Run it via fake_ide
+#
+# jumping outside the focused zone should signal an unfocus.
+
+# first proof
+ADD here { Goal True. }
+ADD here1 { Proof. }
+ADD { Qed. }
+WAIT
+EDIT_AT here1
+EDIT_AT here
+# fwd again
+ADD here2 { Proof. }
+ADD here3 { Qed. }
+WAIT
+EDIT_AT here2
+# Fixing the proof
+ADD { Proof. }
+ADD { trivial. }
+ADD { Qed. }
+JOIN