From 01c68e2a90d8f4b5a55e9dafe0ad22f968cd7db1 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 18 Sep 2011 17:53:22 +0200 Subject: fix tests --- test/functional/examples.rb | 6 +++--- test/functional/for_redcloth.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test/functional') diff --git a/test/functional/examples.rb b/test/functional/examples.rb index b13cb55..44bc47f 100755 --- a/test/functional/examples.rb +++ b/test/functional/examples.rb @@ -10,7 +10,7 @@ class ExamplesTest < Test::Unit::TestCase div = CodeRay.scan('puts "Hello, world!"', :ruby).div assert_equal <<-DIV, div
-
puts "Hello, world!"
+
puts "Hello, world!"
DIV @@ -27,7 +27,7 @@ end 3
5.times do
-  puts 'Hello, world!'
+  puts 'Hello, world!'
 end
DIV @@ -120,7 +120,7 @@ Token Types (7): div = ruby_highlighter.encode('puts "Hello, world!"') assert_equal <<-DIV, div
-
puts "Hello, world!"
+
puts "Hello, world!"
DIV end diff --git a/test/functional/for_redcloth.rb b/test/functional/for_redcloth.rb index 3c45eec..e980667 100644 --- a/test/functional/for_redcloth.rb +++ b/test/functional/for_redcloth.rb @@ -17,11 +17,11 @@ class BasicTest < Test::Unit::TestCase def test_for_redcloth require 'coderay/for_redcloth' - assert_equal "

puts "Hello, World!"

", + assert_equal "

puts "Hello, World!"

", RedCloth.new('@[ruby]puts "Hello, World!"@').to_html assert_equal <<-BLOCKCODE.chomp,
-
puts "Hello, World!"
+
puts "Hello, World!"
BLOCKCODE RedCloth.new('bc[ruby]. puts "Hello, World!"').to_html -- cgit v1.2.1