diff options
author | rsiddharth <s@ricketyspace.net> | 2018-02-26 00:19:30 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-02-26 00:19:30 +0000 |
commit | fcb40a385d6063118e31fc2f53be1d022d2ce378 (patch) | |
tree | 3842156c485dda44695debff9222ce9eaa12b12b /tests/test_md_tw.py | |
parent | 98dde38a414d56480dd568de4050bab88ed4b863 (diff) |
md_tw.py: [token] def_links -> def_link
* md_tw.py (TWBlockLexer)[parse_def_links]: Update method.
* tests/test_md_tw.py (TWBlockLexer)[test_parse_def_link]: New test method.
[test_parse_def_links]: Remove test method.
Diffstat (limited to 'tests/test_md_tw.py')
-rw-r--r-- | tests/test_md_tw.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_md_tw.py b/tests/test_md_tw.py index 6f725b6..620605c 100644 --- a/tests/test_md_tw.py +++ b/tests/test_md_tw.py @@ -466,7 +466,7 @@ class TestTWBlockLexer(object): } tokens = process(tokens) - def test_parse_def_links(self): + def test_parse_def_link(self): tokens = self._parse('blexer-def-links.md') expected_dls = [ @@ -481,7 +481,7 @@ class TestTWBlockLexer(object): ' [yahoo]: http://search.yahoo.com/ "Yahoo Search"\n', ' [msn]: http://search.msn.com/ "MSN Search"', ] - self._validate(tokens, 'def_links', expected_dls) + self._validate(tokens, 'def_link', expected_dls) def test_parse_def_footnotes(self): tokens = self._parse('blexer-footnotes.md') |