Permalink
Browse files

Fix unittest for FixImagePaths macro

  • Loading branch information...
1 parent ee2d61a commit 8c622684a97f553a48beeb9be09ff5b4629b4f9c @roktas roktas committed Nov 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/landslide/tests.py
@@ -216,7 +216,7 @@ def test_process(self):
base_dir = os.path.join(SAMPLES_DIR, 'example1', 'slides.md')
m = macro.FixImagePathsMacro(self.logtest, False)
content, classes = m.process('<img src="monkey.jpg"/>', base_dir)
- self.assertTrue(re.match(r'<img src="file://.*?/monkey.jpg" />',
+ self.assertTrue(re.match(r'<img src="file://.*?/monkey.jpg" */>',
content))

0 comments on commit 8c62268

Please sign in to comment.