rtomayko/tilt — Issue #120: Test failure with Psych YAML engine
Author: bkabrda
Created: 2011-12-19 08:22:23+00:00
State: open

Hi, I've got a test failure with Ruby 1.9.3, which uses Psych YAML engine by default:

/usr/share/ruby/psych.rb:154:in `parse': (): couldn't parse YAML at line 182 column 9 (Psych::SyntaxError)
from /usr/share/ruby/psych.rb:154:in `parse_stream'
from /usr/share/ruby/psych.rb:125:in `parse'
from /usr/share/ruby/psych.rb:112:in `load'
from /usr/share/gems/gems/RedCloth-4.2.3/lib/redcloth/formatters/latex.rb:6:in `'
from /usr/share/gems/gems/RedCloth-4.2.3/lib/redcloth/formatters/latex.rb:3:in `'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby/vendor_ruby/redcloth.rb:21:in `'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /home/bkabrda/rpmbuild/BUILDROOT/rubygem-tilt-1.3.2-1.fc16.x86_64/usr/share/gems/gems/tilt-1.3.2/test/tilt_redclothtemplate_test.rb:5:in `'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
from /usr/share/ruby/test/unit.rb:221:in `block in non_options'
from /usr/share/ruby/test/unit.rb:215:in `each'
from /usr/share/ruby/test/unit.rb:215:in `non_options'
from /usr/share/ruby/test/unit.rb:52:in `process_args'
from /usr/share/ruby/test/unit.rb:625:in `process_args'
from /usr/bin/testrb:5:in `

'

I'm not sure if it is a problem with tilt or RedCloth.
Could you have a look at it?

Thanks,
Bohuslav.