Skip to content

Specs fail for yard 0.6.1 on jruby #185

@graaff

Description

@graaff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions