Unable to round trip paritcular forms of strings using YAML
-----------------------------------------------------------
Key: JRUBY-1270
URL: http://jira.codehaus.org/browse/JRUBY-1270
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Environment: Mac OSX 10.4, JDK1.5.0_07
Reporter: Badrinath Janakiraman
require 'test/unit'
require 'active_support'
require 'yaml'
class TestYamlRoundTrips < Test::Unit::TestCase
def test_stack_bar_chart_macro
string = <<-YAML
outer
property1: value1
additional:
- property2: value2
color: green
data: SELECT 'xxxxxxxxxxxxxxxxxxx', COUNT(*) WHERE xyzabc = 'unk'
combine: overlay-bottom
YAML
assert_equal string, YAML.load(YAML.dump(string))
end
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email