diff --git a/tests/sphinx_generic/index.md b/tests/sphinx_generic/index.md index d699b79..649e8c0 100644 --- a/tests/sphinx_generic/index.md +++ b/tests/sphinx_generic/index.md @@ -17,6 +17,8 @@ This is a [pending ref](index) [example]: http://example.com/foobar "Example" +External link to Markdown file: [Readme](https://github.com/readthedocs/recommonmark/blob/master/README.md). + Foo ---- diff --git a/tests/test_sphinx.py b/tests/test_sphinx.py index 06078b1..74f83cf 100644 --- a/tests/test_sphinx.py +++ b/tests/test_sphinx.py @@ -125,6 +125,12 @@ def test_links(self): ''), output ) + self.assertIn( + ('External link to Markdown file: ' + 'Readme.'), + output + ) def test_image(self): output = self.read_file('index.html')