From aab16fc524986e0c70afb2d5b8ddbf5fc79e1e0b Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 4 Mar 2017 07:54:26 +0000 Subject: tests: Update `test_mdl_style.TestLSRendererIL` class. * tests/data/inline_link_style_01-expected.md: New file. * tests/data/inline_link_style_01.md: New file. * tests/test_mdl_style.py (TestLSRendererIL.test_link_footnote_to_inline_style_conversion_01): Add method. --- tests/data/inline_link_style_01-expected.md | 12 ++++++++++++ tests/data/inline_link_style_01.md | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 tests/data/inline_link_style_01-expected.md create mode 100644 tests/data/inline_link_style_01.md (limited to 'tests/data') diff --git a/tests/data/inline_link_style_01-expected.md b/tests/data/inline_link_style_01-expected.md new file mode 100644 index 0000000..e9fb813 --- /dev/null +++ b/tests/data/inline_link_style_01-expected.md @@ -0,0 +1,12 @@ +This is [an example](http://example.com/ "Title") inline link. + +[This link](http://example.net/) has no title attribute. + +See my [About](/about/) page for details. + +Sed faucibus convallis [an example](http://example.com/ "Optional Title Here") justo et congue link. + +Iaculis purus sed [an example](http://example.com/ "Optional Title Here") porttitor id link. + +There were [foo00](http://example.com/foo/00 "Foo 00 Title") and [foo01](http://example.com/foo/01 "Foo 01 Title") in the +bar. diff --git a/tests/data/inline_link_style_01.md b/tests/data/inline_link_style_01.md new file mode 100644 index 0000000..6799061 --- /dev/null +++ b/tests/data/inline_link_style_01.md @@ -0,0 +1,19 @@ +This is [an example](http://example.com/ "Title") inline link. + +[This link](http://example.net/) has no title attribute. + +See my [About][] page for details. + +[About]: /about/ + +Sed faucibus convallis [an example][id] justo et congue link. + +Iaculis purus sed [an example] [id] porttitor id link. + +[id]: http://example.com/ "Optional Title Here" + +There were [foo00][foo-00] and [foo01][foo-01] in the +bar. + +[foo-00]: http://example.com/foo/00 "Foo 00 Title" +[foo-01]: http://example.com/foo/01 (Foo 01 Title) -- cgit v1.2.3