|
|
@@ -254,7 +254,9 @@ class TestWikicode(TreeEqualityTestCase): |
|
|
|
self.assertTrue(code1.matches(("cleanup", "stub"))) |
|
|
|
self.assertTrue(code2.matches(("cleanup", "stub"))) |
|
|
|
self.assertFalse(code2.matches(("StuB", "sTUb", "foobar"))) |
|
|
|
self.assertFalse(code2.matches(["StuB", "sTUb", "foobar"])) |
|
|
|
self.assertTrue(code2.matches(("StuB", "sTUb", "foo", "bar", "Stub"))) |
|
|
|
self.assertTrue(code2.matches(["StuB", "sTUb", "foo", "bar", "Stub"])) |
|
|
|
self.assertTrue(code3.matches("")) |
|
|
|
self.assertTrue(code3.matches("<!-- nothing -->")) |
|
|
|
self.assertTrue(code3.matches(("a", "b", ""))) |
|
|
|