[MacRuby] #1380: YAML problems in recent nightly builds
MacRuby
ruby-noreply at macosforge.org
Sun Aug 21 01:07:21 PDT 2011
#1380: YAML problems in recent nightly builds
------------------------------------+---------------------------------------
Reporter: mrada@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------------+---------------------------------------
Comment(by watson1978@…):
It seems there is whitespace immediately after 'description:' and the
output is changed.
{{{
require 'yaml'
puts "description: \nHotCocoa is ...".to_yaml
puts "description:\nHotCocoa is ...".to_yaml
}}}
{{{
$ ruby19 test_yaml.rb
--- |-
description:
HotCocoa is ...
--- |-
description:
HotCocoa is ...
$ macruby test_yaml.rb
--- "description: \nHotCocoa is ..."
--- |-
description:
HotCocoa is ...
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1380#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list