From fcb40a385d6063118e31fc2f53be1d022d2ce378 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 26 Feb 2018 00:19:30 +0000 Subject: 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. --- tests/test_md_tw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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') -- cgit v1.2.3