diff options
author | rsiddharth <s@ricketyspace.net> | 2017-03-04 07:54:26 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2017-03-04 07:54:26 +0000 |
commit | aab16fc524986e0c70afb2d5b8ddbf5fc79e1e0b (patch) | |
tree | 47d3116863e91ea2bd3e5fa2cc91ee4a93c52fd8 /tests/data | |
parent | 6fbea4b886aefcc6830c7abe9dcda2f99a200674 (diff) |
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.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/inline_link_style_01-expected.md | 12 | ||||
-rw-r--r-- | tests/data/inline_link_style_01.md | 19 |
2 files changed, 31 insertions, 0 deletions
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) |