Re: [Error] test/yaml/test_yaml.rb

From: why the lucky stiff <ruby-core@...>
Date: 2004-05-19 17:00:28 UTC
List: ruby-core #2906
H.Yamamoto wrote:

>E:\ruby-cvs\ruby>.\ruby runruby.rb --ext=".ext" -- bin\testrb test/yaml
>Loaded suite yaml
>Started
>........E..............................................
>Finished in 0.991 seconds.
>
>  1) Error:
>test_range_cycle(YAML_Unit_Tests):
>ArgumentError: parse error on line 0, col 24: `--- !ruby/range '"'"..."."''
>    E:/ruby-cvs/ruby/lib/yaml.rb:119:in `load'
>    E:/ruby-cvs/ruby/lib/yaml.rb:119:in `load'
>    E:/ruby-cvs/ruby/test/yaml/test_yaml.rb:37:in `assert_cycle'
>    E:/ruby-cvs/ruby/test/yaml/test_yaml.rb:1226:in `test_range_cycle'
>
>55 tests, 199 assertions, 0 failures, 1 errors
>
>
>This error appears in both HEAD and ruby_1_8 branch. 
>  
>
Thanks, I noticed that nobu checked this in about a week ago.  I don't 
have a good fix for it right now.  I'm turning off Range scalars for 
now, until I can get a routine coded for escaping YAML-in-YAML stuff 
like this.

_why

In This Thread

Prev Next