Added test with sample file

This commit is contained in:
Bastien Dumont
2022-06-12 12:33:43 +02:00
parent 7853500bca
commit 997900eac1
2 changed files with 123 additions and 3 deletions

View File

@ -15,9 +15,9 @@ test-internal: margin-notes.lua test/test-functions.lua
@echo -e '==========================\nAll internal tests passed.\n==========================\n'
rm --interactive=never test/tmp.lua
test: margin-notes.lua test/test.md
pandoc -t native -L margin-notes.lua test/test.md > test/tmp.native
diff test/tmp.native test/test.native
test: margin-notes.lua sample.md
pandoc -t native -L margin-notes.lua sample.md > test/tmp.native
diff test/tmp.native test/sample.native
@echo -e '\n===============\ntest passed.\n===============\n'
rm test/tmp.native