summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Grinn <grinn.amy@gmail.com>2021-10-17 09:20:21 -0400
committerAmy Grinn <grinn.amy@gmail.com>2021-10-17 09:20:21 -0400
commit003479ff2f5679d86654a8c61cd2c7df011bce2f (patch)
tree2dd154a15eec451bc4672c1fbccb798beb3e0427
parent4055f2435f73f6e7f832d19fdd1706dc941577de (diff)
Added more tests
-rw-r--r--boxy-headings.el2
-rw-r--r--tests/smoke.org53
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