aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/coq-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/coq-tests.el b/ci/coq-tests.el
index da0da3d8..8040b122 100644
--- a/ci/coq-tests.el
+++ b/ci/coq-tests.el
@@ -298,7 +298,10 @@ For example, COMMENT could be (*test-definition*)"
(coq-test-goto-before " (*test-insert*)")
(proof-goto-point)
(proof-shell-wait)
- (coq-should-buffer "<diff\\.added\\.bg>(fun <diff\\.added>(</diff\\.added>A : Prop<diff\\.added>) (proof_of_A : A)</diff\\.added> => \\?Goal)</diff\\.added\\.bg>"))
+ ;; If coq--post-v811, it should be "Show Proof Diffs." otherwise "Show Proof."
+ (if (coq--post-v811)
+ (coq-should-buffer "<diff\\.added\\.bg>(fun <diff\\.added>(</diff\\.added>A : Prop<diff\\.added>) (proof_of_A : A)</diff\\.added> => \\?Goal)</diff\\.added\\.bg>")
+ (coq-should-buffer "(fun (A : Prop) (proof_of_A : A) => \\?Goal)")))
'show-proof-stepwise 'diffs-on))