Skip to content

rdoc 3.12 tests fail on ruby 1.8.7 #112

Closed
graaff opened this Issue Apr 10, 2012 · 2 comments

2 participants

@graaff
graaff commented Apr 10, 2012

With ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] I'm getting the following test failures:

  1) Failure:
test_classes(TestRDocContext) [/var/tmp/portage/dev-ruby/rdoc-3.12/work/ruby18/rdoc-3.12/test/test_rdoc_context.rb:343]:
Expected: ["C3::H1", "C3::H2"]
  Actual: ["C3::H2", "C3::H1"]

  2) Failure:
test_parse_class_colon3(TestRDocParserRuby) [/var/tmp/portage/dev-ruby/rdoc-3.12/work/ruby18/rdoc-3.12/test/test_rdoc_parser_ruby.rb:704]:
Expected: ["A", "B"]
  Actual: ["B", "A"]

  3) Failure:
test_parse_class_single(TestRDocParserRuby) [/var/tmp/portage/dev-ruby/rdoc-3.12/work/ruby18/rdoc-3.12/test/test_rdoc_parser_ruby.rb:724]:
Expected: ["A::B", "A::d"]
  Actual: ["A::d", "A::B"]

  4) Failure:
test_parse_statements_identifier_private_class_method(TestRDocParserRuby) [/var/tmp/portage/dev-ruby/rdoc-3.12/work/ruby18/rdoc-3.12/test/test_rdoc_parser_ruby.rb:1884]:
DateTime::now.
Expected: :public
  Actual: :private

  5) Failure:
test_parse_statements_identifier_public_class_method(TestRDocParserRuby) [/var/tmp/portage/dev-ruby/rdoc-3.12/work/ruby18/rdoc-3.12/test/test_rdoc_parser_ruby.rb:1859]:
Expected: :private
  Actual: :public

  6) Failure:
test_display_name_not_found_class(TestRDocRIDriver) [/var/tmp/portage/dev-ruby/rdoc-3.12/work/ruby18/rdoc-3.12/test/test_rdoc_ri_driver.rb:477]:
--- expected
+++ actual
@@ -1,5 +1,5 @@
 "Foo::B not found, maybe you meant:

-Foo::Bar
 Foo::Baz
+Foo::Bar
 "
@graaff
graaff commented Apr 10, 2012

For reference the downstream bug: https://bugs.gentoo.org/show_bug.cgi?id=397657

@drbrain
RDoc member
drbrain commented Apr 10, 2012

This was fixed by @2d606b3

@drbrain drbrain closed this Apr 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.