Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specs fail for yard 0.6.1 on jruby #185

Closed
graaff opened this issue Oct 3, 2010 · 3 comments
Closed

Specs fail for yard 0.6.1 on jruby #185

graaff opened this issue Oct 3, 2010 · 3 comments

Comments

@graaff
Copy link

graaff commented Oct 3, 2010

I'm getting the following spec failures when running the specs with jruby. They run fine with ruby 1.8 and ruby enterprise edition.

'YARD::CodeObjects::Proxy should respond_to respond_to?' FAILED
expected: true,
got: false (using ==)
./spec/code_objects/proxy_spec.rb:43:

'YARD::Parser::Base#initialize should take 2 arguments' FAILED
expected ArgumentError with message matching /wrong number of arguments/, got #<ArgumentError: wrong # of arguments(0 for 2)>
./spec/parser/base_spec.rb:10:

YARD::Handlers::NamespaceMissingError in 'YARD::Parser::CParser#parse before(:all)'
YARD::Handlers::NamespaceMissingError
./spec/parser/c_parser_spec.rb:7:

'YARD::Parser::SourceParser#parse_in_order should attempt to parse files in order' FAILED
expected: /Missing object MyModule/,
got: "Processing ./spec/parser/examples/parse_in_order_002.rb.txt..." (using =~)
./spec/parser/source_parser_spec.rb:220:

ArgumentError in 'YARD::Registry.load_yardoc should maintain hash key equality on loaded objects'
dump format error(�)
./spec/registry_spec.rb:201:

Finished in 10.788 seconds

989 examples, 5 failures, 1 pending

@lsegal
Copy link
Owner

lsegal commented Oct 3, 2010

Thanks for the report, I was actually just looking at these. I will be tackling them in the next week.

@lsegal
Copy link
Owner

lsegal commented Oct 5, 2010

Most of the JRuby failures turned out to be due to lack of (full) support for continuations, one of them was just a difference in exception messages. The only outlying issue for JRuby right now is the "dump format error" failure, which I've reported as a bug at #JRUBY-5123.

Therefore all fixable JRuby failures have been dealt with, and I will be closing this ticket. Once a fix or workaround for JRUBY-5123 is provided, I will merge it into the codebase.

@graaff
Copy link
Author

graaff commented Jun 4, 2011

A belated confirmation that I no longer see these failures with yard 0.7.1. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants