From 3d8ad7f53879f4f7c31c3ad16beb547f74711465 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 20 Oct 2008 14:38:30 +0000 Subject: Fixed tests and YAML Scanner (#34) * The last commit (r262) also belongs to ticket #34. --- test/functional/basic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/functional/basic.rb b/test/functional/basic.rb index 9862f77..8f9e523 100755 --- a/test/functional/basic.rb +++ b/test/functional/basic.rb @@ -37,11 +37,11 @@ class BasicTest < Test::Unit::TestCase def test_for_redcloth require 'rubygems' 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 -- cgit v1.2.1