Hi Michael, Michael Brand <michael.ch.br...@gmail.com> writes:
> The doc of org-test-with-temp-text-in-file says > > (org-test-with-temp-text-in-file TEXT &rest BODY) > Run body in a temporary file buffer with Org-mode as the active mode. > > so I thought I can write: > > #+BEGIN_SRC emacs-lisp > (ert-deftest trial/fail () > (org-test-with-temp-text-in-file " > | | > " > (forward-line) > (should (org-at-table-p)))) > #+END_SRC Now you can. There were no real reason to force using (progn ...) here so I removed that and updated the test suite accordingly. Let me know if this works for you now. Best, -- Bastien