From 144f9959c980296a89205fb9da7634fb9e1e3623 Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Fri, 7 Dec 2012 17:02:13 -0700 Subject: [PATCH] Update test #602 --- test/test_app.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/test_app.rb b/test/test_app.rb index 14706c58..8158438e 100644 --- a/test/test_app.rb +++ b/test/test_app.rb @@ -42,7 +42,7 @@ context "Frontend" do assert_equal 'μ†ℱ'.scan(/./), ["μ", "†", "ℱ"] end - # this should not match + # This should not match test "broken four space" do page = 'utfh1' text = %( @@ -52,14 +52,12 @@ context "Frontend" do four ) - # don't use h1 or it will be promoted to replace file name - # which doesn't generate a normal header link @wiki.write_page(page, :markdown, text, { :name => 'user1', :email => 'user1' }); get page - - assert_match /
\n  /, last_response.body
+    # 
\n  one\ntwo\nthree\nfour\n\n
+ assert_match /
\n  .+<\/code>\n<\/pre>/m, last_response.body
   end
 
   test "UTF-8 headers href preserved" do