##// END OF EJS Templates
expand strip_files test coverage
MinRK -
Show More
@@ -88,12 +88,19 b' class TestStrings(TestsBase):'
88 ('test="/files"', 'test="/files"'),
88 ('test="/files"', 'test="/files"'),
89 ('My files are in `files/`', 'My files are in `files/`'),
89 ('My files are in `files/`', 'My files are in `files/`'),
90 ('<a href="files/test.html">files/test.html</a>', '<a href="test.html">files/test.html</a>'),
90 ('<a href="files/test.html">files/test.html</a>', '<a href="test.html">files/test.html</a>'),
91 ('<a href="/files/test.html">files/test.html</a>', '<a href="test.html">files/test.html</a>'),
92 ("<a href='files/test.html'>files/test.html</a>", "<a href='test.html'>files/test.html</a>"),
93 ('<img src="files/url/location.gif">', '<img src="url/location.gif">'),
94 ('<img src="/files/url/location.gif">', '<img src="url/location.gif">'),
91 ('hello![caption]', 'hello![caption]'),
95 ('hello![caption]', 'hello![caption]'),
92 ('hello![caption](/url/location.gif)', 'hello![caption](/url/location.gif)'),
96 ('hello![caption](/url/location.gif)', 'hello![caption](/url/location.gif)'),
93 ('hello![caption](url/location.gif)', 'hello![caption](url/location.gif)'),
97 ('hello![caption](url/location.gif)', 'hello![caption](url/location.gif)'),
94 ('hello![caption](url/location.gif)', 'hello![caption](url/location.gif)'),
98 ('hello![caption](url/location.gif)', 'hello![caption](url/location.gif)'),
95 ('hello![caption](files/url/location.gif)', 'hello![caption](url/location.gif)'),
99 ('hello![caption](files/url/location.gif)', 'hello![caption](url/location.gif)'),
96 ('hello![caption](/files/url/location.gif)', 'hello![caption](url/location.gif)'),]
100 ('hello![caption](/files/url/location.gif)', 'hello![caption](url/location.gif)'),
101 ('hello [text](/files/url/location.gif)', 'hello [text](url/location.gif)'),
102 ('hello [text space](files/url/location.gif)', 'hello [text space](url/location.gif)'),
103 ]
97 for test in tests:
104 for test in tests:
98 self._try_files_prefix(test[0], test[1])
105 self._try_files_prefix(test[0], test[1])
99
106
General Comments 0
You need to be logged in to leave comments. Login now