org-clock: Fix failing test

* testing/lisp/test-org-clock.el (test-org-clock/clocktable/insert):
  Fix test now default scope is not file.
This commit is contained in:
Nicolas Goaziou 2019-03-04 23:16:48 +01:00
parent 2e06d61915
commit 51444aadf5
1 changed files with 6 additions and 6 deletions

View File

@ -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<point>"
"| Headline | Time |
|--------------+--------|
| *Total time* | *1:00* |
|--------------+--------|
| H1 | 1:00 |"
(org-test-with-temp-text "* H1\n<point>"
(insert (org-test-clock-create-clock ". 1:00" ". 2:00"))
(goto-line 2)