Commit Graph

58 Commits

Author SHA1 Message Date
Tom Alexander
269e23c1b1
No more expect-fail tests! 2023-10-18 12:41:12 -04:00
Tom Alexander
b0b287cd47
Handle bullshitium for 🔚. 2023-10-18 11:57:39 -04:00
Tom Alexander
fafd85fb30
Apply some clippy fixes. 2023-10-16 17:03:39 -04:00
Tom Alexander
2012e5a6d5
Test org_mode_samples both with and without alphabetical lists enabled. 2023-09-29 15:30:38 -04:00
Tom Alexander
ac0db64081
Add cargo directive to rebuild the auto-generated tests when files under org_mode_samples get updated.
Some checks failed
rust-test Build rust-test has failed
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has failed
2023-09-13 21:28:44 -04:00
Tom Alexander
37e85158ea
Reduce the exposed functions when compare feature is enabled. 2023-09-12 15:48:37 -04:00
Tom Alexander
a651b79e77
Move sexp into compare. 2023-09-11 15:37:20 -04:00
Tom Alexander
98de5e4ec5
Remove unused sexp parser entry point. 2023-09-11 15:07:52 -04:00
Tom Alexander
aa5988bc2f
Re-enable a test.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has succeeded
2023-09-11 11:18:25 -04:00
Tom Alexander
df79cbd0b7
Give global options their own lifetime. 2023-09-03 16:22:40 -04:00
Tom Alexander
f16a554154
Handle org-mode documents passed as args.
We were running into issues where the documents grew too large for being passed as a string to emacs, and we need to handle #+setupfile so we need to start handling org-mode documents as files and not just as anonymous streams of text.

The anonymous stream of text handling will remain because the automated tests use it.
2023-09-02 17:28:22 -04:00
Tom Alexander
80d77ff5d6
Fix handling of unicode in compare tests.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-31 20:20:00 -04:00
Tom Alexander
e9480fd156
Disable the compare tests when the compare feature is disabled.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-29 23:17:46 -04:00
Tom Alexander
f170a557ed
Use character offsets in diff. 2023-08-29 21:49:16 -04:00
Tom Alexander
950baa9d5d
Only allow a single section under a heading. 2023-08-29 16:03:13 -04:00
Tom Alexander
3206027b96
Add all entities. 2023-08-29 15:16:22 -04:00
Tom Alexander
16a107eebb
Update org-mode version. 2023-08-25 02:56:28 -04:00
Tom Alexander
8561fdc1bd
Make the autogen prefix fully integrated into the test name.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
2023-08-21 00:14:10 -04:00
Tom Alexander
f2089257b0
Re-enable disabled test.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-build Build rust-build has succeeded
rust-test Build rust-test has succeeded
The latest code in org-mode has been fixed.
2023-08-21 00:08:26 -04:00
Tom Alexander
69ecfd2646
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
2023-08-20 23:38:47 -04:00
Tom Alexander
8162f03051
Put all trailing whitespace ownership test cases into the automated tests.
All checks were successful
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
Notes for this investigation moved to cba1d1e988/notes/plain_list_ownership_notes.org .

Mailing list thread on the investigation: https://list.orgmode.org/9372527e-3852-419e-936a-7b4dd38cc847@app.fastmail.com/ .
2023-08-20 16:03:31 -04:00
Tom Alexander
7cf1b2d2b8
Disable the failing plain list whitespace ownership test.
Some checks failed
rust-build Build rust-build has failed
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
2023-08-17 00:03:05 -04:00
Tom Alexander
6c9c304f37
Re-enable disabled test. 2023-08-16 17:39:10 -04:00
Tom Alexander
1c9877015d
Disable the test showing my plain list implementation is broken. 2023-08-14 23:20:28 -04:00
Tom Alexander
fbabf60559
Add ignore to test export_snippet_paragraph_break_precedence. 2023-08-14 14:01:00 -04:00
Tom Alexander
b75eed6b1e
Enable tests that were disabled before.
Some checks are pending
rust-test Build rust-test has started
rust-build Build rust-build has succeeded
2023-08-13 02:21:02 -04:00
Tom Alexander
fc28e3b514
Add a test for trailing blank lines after paragraphs.
Some checks failed
rust-test Build rust-test has failed
rustfmt Build rustfmt has succeeded
rust-build Build rust-build has succeeded
The behavior in emacs does not match the description in the org-mode documentation. I have sent an email to the org-mode mailing list and I am waiting their response so I can adjust (or not adjust) my parser accordingly.
2023-08-11 01:37:04 -04:00
Tom Alexander
63fcad2ac6
Enable tests that needed subscript/superscript implemented. 2023-07-24 16:32:56 -04:00
Tom Alexander
8cdca061f8
Ignore test export_snippet_paragraph_break_precedent.
All checks were successful
semver Build semver has succeeded
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
This test is failing on the CI because emacs 28 allows for export snippets without a closing @@.
2023-07-19 00:46:36 -04:00
Tom Alexander
3328c94a21
Enable tests which are now passing. 2023-07-18 23:29:41 -04:00
Tom Alexander
d46b3b9a58
Disable the entity test because the failure case needs LaTeX fragments implemented first to work. 2023-07-18 20:39:03 -04:00
Tom Alexander
97f956d0bf
Enable another test. 2023-07-14 20:59:00 -04:00
Tom Alexander
167ffa650c
Enable another test. 2023-07-14 20:58:11 -04:00
Tom Alexander
76187a0cb9
Enable radio_link_simple test.
This test does not yet pass, but this is goal-setting.
2023-07-14 19:11:51 -04:00
Tom Alexander
ef2c351696
Expect fail the last radio link test.
All checks were successful
rust-test Build rust-test has succeeded
2023-07-14 18:36:25 -04:00
Tom Alexander
a54230c7f2
Fix exit_status feature.
Some checks failed
semver Build semver has succeeded
rustfmt Build rustfmt has failed
rust-test Build rust-test has succeeded
2023-07-14 00:25:17 -04:00
Tom Alexander
cdd813fbe6
First implementation of macro. 2023-07-14 00:20:32 -04:00
Tom Alexander
f01c580a7f
Add expect fail to tests for radio link targets.
All checks were successful
semver Build semver has succeeded
cargo-fmt Build cargo-fmt has succeeded
organic-test Build organic-test has succeeded
build-cargo-fmt Build build-cargo-fmt has succeeded
build-organic-test Build build-organic-test has succeeded
2023-07-13 16:52:33 -04:00
Tom Alexander
c6403423cf
Looks like link should consume trailing whitespace. 2023-04-24 16:29:14 -04:00
Tom Alexander
c2bf2c6994
Enable a working test. 2023-04-22 22:35:45 -04:00
Tom Alexander
da76d3714c
Identify a problem. 2023-04-22 22:10:49 -04:00
Tom Alexander
0ca6ce504f
Simulate trailing whitespace in empty greater blocks just like drawers. 2023-04-22 21:45:18 -04:00
Tom Alexander
99645ea14c
Mark tests that we expect to fail. 2023-04-22 18:31:40 -04:00
Tom Alexander
fef5841713
Identify a problem. 2023-04-22 00:23:16 -04:00
Tom Alexander
26844f13b4
Ignore the failing test. 2023-04-21 23:05:31 -04:00
Tom Alexander
58342bf85e
More tests that are passing. 2023-04-21 22:52:57 -04:00
Tom Alexander
29c03c6655
Disallowing begin blocks for keywords makes some of the tests pass. 2023-04-21 22:49:00 -04:00
Tom Alexander
ee126d2673
Allow empty keywords. 2023-04-21 22:44:13 -04:00
Tom Alexander
ec80e1a0e0
This actually got the README parsing properly. 2023-04-21 22:39:12 -04:00
Tom Alexander
6e406d71b6
Introduce a sexp_with_padding parser. 2023-04-21 20:53:55 -04:00