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:
parent
2e06d61915
commit
51444aadf5
|
@ -277,12 +277,12 @@ the buffer."
|
||||||
"Test insert clocktable dynamic block with `org-dynamic-block-insert-dblock'."
|
"Test insert clocktable dynamic block with `org-dynamic-block-insert-dblock'."
|
||||||
(should
|
(should
|
||||||
(equal
|
(equal
|
||||||
"| Headline | Time | |
|
"| Headline | Time |
|
||||||
|--------------+--------+------|
|
|--------------+--------|
|
||||||
| *Total time* | *1:00* | |
|
| *Total time* | *1:00* |
|
||||||
|--------------+--------+------|
|
|--------------+--------|
|
||||||
| \\_ H2 | | 1:00 |"
|
| H1 | 1:00 |"
|
||||||
(org-test-with-temp-text "** H1\n\n** H2\n<point>"
|
(org-test-with-temp-text "* H1\n<point>"
|
||||||
(insert (org-test-clock-create-clock ". 1:00" ". 2:00"))
|
(insert (org-test-clock-create-clock ". 1:00" ". 2:00"))
|
||||||
|
|
||||||
(goto-line 2)
|
(goto-line 2)
|
||||||
|
|
Loading…
Reference in New Issue