Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilAnac committed May 4, 2020
1 parent 5900b15 commit 4f25bf7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ci/coq-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,18 @@ For example, COMMENT could be (*test-definition*)"
(proof-shell-wait)
(should (equal (proof-queue-or-locked-end) proof-point))))))


(ert-deftest 070_coq-test-regression-wholefile-no-proof ()
"Regression test for no proof bug"
(coq-fixture-on-file
(coq-test-full-path "test_wholefile.v")
(lambda ()
(proof-process-buffer)
(proof-shell-wait)
(goto-char (point-min))
(insert "(*.*)")
(should (equal (proof-queue-or-locked-end) 1)))))

(provide 'coq-tests)

;;; coq-tests.el ends here

0 comments on commit 4f25bf7

Please sign in to comment.