[Instiki] Unit tests fail in trunk

Gregory Murphy Gregory.Murphy at Sun.COM
Fri May 25 10:18:00 EDT 2007


I just checked out the Instiki trunk, and am experiencing two unit test 
failures:

  1) Failure:
test_content_with_inlined_img_tag(PageRendererTest)
    [./test/unit/page_renderer_test.rb:382:in `assert_markup_parsed_as'
     ./test/unit/page_renderer_test.rb:201:in 
`test_content_with_inlined_img_tag']:
Rendering output not as expected.
<"<p>This <IMG SRC=\"http://hobix.com/sample.jpg\" alt=\"\"> is an 
inline image link.</p>"> expected but was
<"<p>This &lt;IMG SRC=\"http://hobix.com/sample.jpg\" alt=\"\"> is an 
inline image link.</p>">.

  2) Failure:
test_content_with_wikiword_in_tag(PageRendererTest)
    [./test/unit/page_renderer_test.rb:382:in `assert_markup_parsed_as'
     ./test/unit/page_renderer_test.rb:161:in 
`test_content_with_wikiword_in_tag']:
Rendering output not as expected.
<"<p>That is some <em style=\"WikiWord\">Stylish Emphasis</em></p>"> 
expected but was
<"<p>That is some <em style=\"\">Stylish Emphasis</em></p>">.

Application bugs, or test bugs?

// Gregory


More information about the Instiki-users mailing list