##// END OF EJS Templates
Fuzzy compare add_anchor
Jonathan Frederic -
Show More
@@ -54,7 +54,7 b' class TestStrings(TestsBase):'
54 add_anchor test
54 add_anchor test
55 """
55 """
56 #TODO: More tests
56 #TODO: More tests
57 assert add_anchor('<b>Hello World!</b>') == '<b id="Hello-World!">Hello World!<a class="anchor-link" href="#Hello-World!">&#182;</a></b>'
57 self.fuzzy_compare(add_anchor('<b>Hello World!</b>'), '<b id="Hello-World!">Hello World!<a class="anchor-link" href="#Hello-World!">&#182;</a></b>')
58
58
59
59
60 def test_strip_dollars(self):
60 def test_strip_dollars(self):
General Comments 0
You need to be logged in to leave comments. Login now