diff --git a/test/test_gitcode.rb b/test/test_gitcode.rb index 0a7890e9..807e3c02 100644 --- a/test/test_gitcode.rb +++ b/test/test_gitcode.rb @@ -25,15 +25,13 @@ context "gitcode" do end test 'that the rendered output is correctly fetched and rendered as html code' do - assert_equal %Q{
a
\n\n<ol class=\"tree\">\n <li class=\"file\"><a href=\"0\">0</a></li>\n</ol>\nb
}, @rendered + assert_equal %Q{a
\n\n<ol class=\"tree\">\n <li class=\"file\">\n <a href=\"0\"><span class=\"icon\"></span>0</a>\n </li>\n</ol>\nb
}, @rendered end test 'contents' do g = Gollum::Gitcode.new 'github/gollum/master/test/file_view/1_file.txt' - assert_equal g.contents, %{