diff options
| author | Amy Grinn <grinn.amy@gmail.com> | 2021-10-17 09:20:21 -0400 |
|---|---|---|
| committer | Amy Grinn <grinn.amy@gmail.com> | 2021-10-17 09:20:21 -0400 |
| commit | 003479ff2f5679d86654a8c61cd2c7df011bce2f (patch) | |
| tree | 2dd154a15eec451bc4672c1fbccb798beb3e0427 | |
| parent | 4055f2435f73f6e7f832d19fdd1706dc941577de (diff) | |
Added more tests
| -rw-r--r-- | boxy-headings.el | 2 | ||||
| -rw-r--r-- | tests/smoke.org | 53 |
2 files changed, 54 insertions, 1 deletions
diff --git a/boxy-headings.el b/boxy-headings.el index e0193b0..085369b 100644 --- a/boxy-headings.el +++ b/boxy-headings.el @@ -296,7 +296,7 @@ diagram." `(lambda (box) (mapc (lambda (h) (boxy-headings--add-heading h box)) - ',children)))))))) + ',siblings)))))))) ;;;; Utility expressions diff --git a/tests/smoke.org b/tests/smoke.org index d843e96..89ab0d7 100644 --- a/tests/smoke.org +++ b/tests/smoke.org @@ -123,3 +123,56 @@ │ │ ╰─────────╯ #+end_example + +* PASS Children test + #+begin_src org + ,* test + ,** Above + :PROPERTIES: + :REL: above + :END: + ,** Below + :PROPERTIES: + :REL: below + :END: + ,** Left + :PROPERTIES: + :REL: left + :END: + ,** Right + :PROPERTIES: + :REL: right + :END: + ,** In + ,** Behind + :PROPERTIES: + :REL: behind + :END: + ,** On top + :PROPERTIES: + :REL: on-top + :END: + ,** In front + :PROPERTIES: + :REL: in-front + :END: + #+end_src + #+begin_example + + ╭───────────────────────────────────────╮ + │ │ + │ *Org Src smoke.org[ org ]* │ + │ │ + │ ╭────────╮ ╔════════╗ ╭─────────╮ │ + │ │ │ ║ ║ │ │ │ + │ │ Left │ ║ test ║ │ Right │ │ + │ │ │ ║ ║ │ │ │ + │ ╰────────╯ ╚════════╝ ╰─────────╯ │ + │ │ + │ ╭─────────╮ │ + │ │ │ │ + │ │ Below │ │ + │ │ │ │ + │ ╰─────────╯ │ + ╰───────────────────────────────────────╯ + #+end_example |
