From f19e92e74e6770b7552cab7172cbcd487a285eb4 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 17 Oct 2021 17:56:32 -1000 Subject: add some additional test cases Signed-off-by: Matthew Peveler --- tests/test_asciidoc.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_asciidoc.py b/tests/test_asciidoc.py index 33f298a..9eeca08 100644 --- a/tests/test_asciidoc.py +++ b/tests/test_asciidoc.py @@ -6,10 +6,18 @@ import pytest @pytest.mark.parametrize( "input,expected", ( + ( + '{attach}file.txt', + '

\r\n' + ), ( '\\{attach}file.txt', '

{attach}file.txt

\r\n' ), + ( + 'link:{attach}file.txt[file]', + '

\r\n' + ), ( 'link:\\{attach}file.txt[file]', '

' + -- cgit v1.2.1