Move all the specific-token tests into subfolders.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded

This commit is contained in:
Tom Alexander
2023-08-20 23:38:47 -04:00
parent 8162f03051
commit 69ecfd2646
67 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
* Headline
before
:candle:
inside
** Headline inside the drawer
the
:end:
drawer
after

View File

@@ -0,0 +1,9 @@
* Headline
before
:candle:
inside
the drawer
:end:
after

View File

@@ -0,0 +1,8 @@
[fn:1] A footnote.
[fn:2] A multi-
line footnote.
not in the footnote.

View File

@@ -0,0 +1,3 @@
#+begin_center
foo
#+end_center

View File

@@ -0,0 +1,7 @@
#+begin_center
foo
#+begin_quote
bar
#+end_quote
baz
#+end_center

View File

@@ -0,0 +1,3 @@
1.
2.
3.

View File

@@ -0,0 +1,2 @@
1. foo
1. bar

View File

@@ -0,0 +1,6 @@
lorem
1. foo
1. bar
baz

View File

@@ -0,0 +1,7 @@
1. foo
2. bar
baz
3. lorem
ipsum

View File

@@ -0,0 +1 @@
Seems like the only element that can exist on the same line as the opening of an item is a paragraph. Perhaps all other elements should have a start of line matcher at the beginning of their parser to force this?

View File

@@ -0,0 +1,4 @@
1. regular
1. nested list
2. 1. Sameline
3. | table|

View File

@@ -0,0 +1,9 @@
1. foo
1. bar
2. baz
2. lorem
ipsum

View File

@@ -0,0 +1,11 @@
1. foo
1. bar
2. baz
cat
2. lorem
ipsum

View File

@@ -0,0 +1,10 @@
1. cat
1. foo
1. bar
2. baz
2. lorem
ipsum

View File

@@ -0,0 +1,12 @@
1. cat
1. foo
1. bar
2. baz
2. lorem
2. dog
ipsum

View File

@@ -0,0 +1,9 @@
* foo
** bar
:PROPERTIES:
:lorem: ipsum
:END:
*** baz
:PROPERTIES:
:lorem+: dolar
:END:

View File

@@ -0,0 +1,3 @@
:PROPERTIES:
:END:

View File

@@ -0,0 +1,25 @@
# Blank lines and comments can come before property drawers in the zeroth section
:PROPERTIES:
:FOO: bar
:END:
* Spaces turn property drawers into regular drawers
:PROPERTIES:
:FOO: bar
:END:
* Comments turn property drawers into regular drawers
# Comment
:PROPERTIES:
:FOO: bar
:END:
* Baseline
:PROPERTIES:
:FOO: bar
:END:

View File

@@ -0,0 +1,12 @@
# Blank lines and comments can come before property drawers in the zeroth section
:PROPERTIES:
:FOO: bar
:END:

View File

@@ -0,0 +1,3 @@
| foo | bar |
|-----+-------|
| baz | lorem |