mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 14:32:52 +00:00
testing/lisp/test-ob-tangle.el: Avoid interaction in test
* testing/lisp/test-ob-tangle.el (ob-tangle/detangle-false-positive): Unset modification flag from buffer to kill (testing/examples/babel.org) in tear down step of test to avoid Emacs asking for confirmation during interactive testing from within Emacs.
This commit is contained in:
parent
36c254ae30
commit
d6f3aed7b1
|
@ -565,6 +565,8 @@ another block
|
|||
(should (equal (string-trim (org-element-property
|
||||
:value (org-element-at-point)))
|
||||
";; detangle changes"))))
|
||||
(with-current-buffer buffer
|
||||
(set-buffer-modified-p nil))
|
||||
(kill-buffer buffer))))
|
||||
|
||||
(provide 'test-ob-tangle)
|
||||
|
|
Loading…
Reference in a new issue