New YAML rubyspec failures
--------------------------
Key: JRUBY-2553
URL: http://jira.codehaus.org/browse/JRUBY-2553
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.1
Environment: Latest JRuby 1.1.1+
Reporter: Vladimir Sizikov
Assignee: Thomas E Enebo
Recently added rubyspecs for YAML fail with JRuby.
*NOTE*: not all of them are JRuby problems indeed, and we need to follow-up
with ruby-core on those.
I'll add more info once I get the clarifications.
{noformat}
mspec ci spec/ruby/1.8/library/yaml/
...F....FE..FF.....F..
1)
YAML.dump_stream returns a YAML stream containing the objects passed FAILED
Expected "--- foo\n--- 20\n--- []\n--- {}\n"
to equal "--- foo\n--- 20\n--- []\n\n--- {}\n\n"
/opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
/opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/dump_stream_spec.rb:10:in
`/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/dump_stream_spec.rb'
2)
YAML.load returns false on empty strings or all comments FAILED
Expected nil
to equal false
/opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
/opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/load_spec.rb:26:in
`/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/load_spec.rb'
3)
YAML#parse_file returns a YAML::Syck::Map object after parsing a YAML file ERROR
NoMethodError: undefined method `parse_file' for YAML:Module
/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/parse_file_spec.rb:6:in
4)
Object#to_yaml returns the YAML representation of an Array object FAILED
Expected "--- \n- !str 30\n- ruby\n- maz\n- irb\n- !str 99\n"
to equal "--- \n- \"30\"\n- ruby\n- maz\n- irb\n- \"99\"\n"
/opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
/opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/to_yaml_spec.rb:8:in
`/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/to_yaml_spec.rb'
5)
Object#to_yaml returns the YAML representation of a Class object FAILED
Expected "--- !ruby/object:FooBar\nname: baz\n"
to equal "--- !ruby/object:FooBar \nname: baz\n"
/opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
/opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/to_yaml_spec.rb:12:in
`/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/to_yaml_spec.rb'
6)
Object#to_yaml returns the YAML representation of a Struct object FAILED
Expected "--- !ruby/struct:Person\nname: Jane\ngender: female\n"
to equal "--- !ruby/struct:Person \nname: Jane\ngender: female\n"
/opt/work/mspec.git/lib/mspec/expectations/expectations.rb:10:in `fail_with'
/opt/work/mspec.git/lib/mspec/matchers/base.rb:9:in `=='
/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/to_yaml_spec.rb:43:in
`/opt/work/jruby.git/./spec/ruby/1.8/library/yaml/to_yaml_spec.rb'
28 files, 22 examples, 24 expectations, 5 failures, 1 error
{noformat}
--
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