From 51444aadf5cdfe1100758e3163681c61cc7ec264 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 4 Mar 2019 23:16:48 +0100 Subject: [PATCH] org-clock: Fix failing test * testing/lisp/test-org-clock.el (test-org-clock/clocktable/insert): Fix test now default scope is not file. --- testing/lisp/test-org-clock.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/testing/lisp/test-org-clock.el b/testing/lisp/test-org-clock.el index 33af90a18..fa336f680 100644 --- a/testing/lisp/test-org-clock.el +++ b/testing/lisp/test-org-clock.el @@ -277,12 +277,12 @@ the buffer." "Test insert clocktable dynamic block with `org-dynamic-block-insert-dblock'." (should (equal - "| Headline | Time | | -|--------------+--------+------| -| *Total time* | *1:00* | | -|--------------+--------+------| -| \\_ H2 | | 1:00 |" - (org-test-with-temp-text "** H1\n\n** H2\n" + "| Headline | Time | +|--------------+--------| +| *Total time* | *1:00* | +|--------------+--------| +| H1 | 1:00 |" + (org-test-with-temp-text "* H1\n" (insert (org-test-clock-create-clock ". 1:00" ". 2:00")) (goto-line 2)