Project

General

Profile

Actions

Bug #7464

closed

minitest 4.3.2 in r37967 breaks RDoc tests

Added by drbrain (Eric Hodel) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:50294]

Description

=begin
With r37966:

$ svnversion
37966
$ make all test-all TESTS='minitest rdoc'
[…]
Finished tests in 7.686270s, 279.0690 tests/s, 677.8320 assertions/s.
2145 tests, 5210 assertions, 0 failures, 0 errors, 16 skips

ruby -v: ruby 2.0.0dev (2012-11-29 trunk 37968) [x86_64-darwin12.2.0]

With r37968:

$ svnversion
37968
$ make all test-all TESTS='minitest rdoc'
[…]

[ 453/2155] TestRDocContext#test_add_method_duplicate = 0.02 s
2) Failure:
test_add_method_duplicate(TestRDocContext) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_context.rb:240]:
--- expected
+++ actual
@@ -1 +1 @@
-"Duplicate method (unknown)#name in file second.rb, previously in file first.rb"
+""

[ 482/2155] TestRDocContextSection#test_sequence = 0.01 s
3) Failure:
test_sequence(TestRDocContextSection) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_context_section.rb:133]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"RDoc::Context::Section#sequence is deprecated, use #aref
-"
+""

[ 501/2155] TestRDocEncoding#test_class_read_file_encoding_invalid = 0.0
4) Failure:
test_class_read_file_encoding_invalid(TestRDocEncoding) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_encoding.rb:111]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"unable to convert "\xE4" on US-ASCII for /var/folders/87/twjsm89x01161gp5d9qwlx2m0000gn/T/test_rdoc_encoding20121128-44686-1a7y2r, skipping
-"
+""

[ 504/2155] TestRDocEncoding#test_class_read_file_encoding_fail = 0.00 s
5) Failure:
test_class_read_file_encoding_fail(TestRDocEncoding) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_encoding.rb:62]:
Expected /^unable to convert/ to match "".

[1441/2155] TestRDocOptions#test_warn = 0.01 s
6) Failure:
test_warn(TestRDocOptions) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_options.rb:580]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"warnings on
-"
+""

[1474/2155] TestRDocOptions#test_check_files_warn = 0.01 s
7) Failure:
test_check_files_warn(TestRDocOptions) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_options.rb:55]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"file 'nonexistent' not found
-"
+""

[1512/2155] TestRDocParserC#test_do_methods_in_cpp = 0.00 s
8) Failure:
test_do_methods_in_cpp(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_parser_c.rb:578]:
Expected /\ blah.cpp\ / to match "".

[1530/2155] TestRDocParserC#test_do_methods_in_c = 0.00 s
9) Failure:
test_do_methods_in_c(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_parser_c.rb:556]:
Expected /\ blah.c\ / to match "".

[1534/2155] TestRDocParserC#test_do_methods_in_y = 0.00 s
10) Failure:
test_do_methods_in_y(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_parser_c.rb:600]:
Expected /\ blah.y\ / to match "".

[1550/2155] TestRDocParserC#test_do_aliases_missing_class = 0.01 s
11) Failure:
test_do_aliases_missing_class(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_parser_c.rb:251]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"Enclosing class or module "cDate" for alias b a is not known
-"
+""

[1558/2155] TestRDocParserC#test_do_missing_cycle = 0.01 s
12) Failure:
test_do_missing_cycle(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_parser_c.rb:669]:
--- expected
+++ actual
@@ -1 +1 @@
-"Unable to create class Y (y), class Z (z) due to a cyclic class or module creation"
+""

[1730/2155] TestRDocRDoc#test_normalized_file_list_non_file_directory =
13) Failure:
test_normalized_file_list_non_file_directory(TestRDocRDoc) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_rdoc.rb:140]:
Expected /^rdoc can't parse/ to match "".

[…]

[2055/2155] TestRDocTask#test_inline_source = 0.01 s
30) Failure:
test_inline_source(TestRDocTask) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_task.rb:23]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"RDoc::Task#inline_source is deprecated
-"
+""

[2072/2155] TestRDocText#test_to_html_tt_tag_mismatch = 0.01 s
31) Failure:
test_to_html_tt_tag_mismatch(TestRDocText) [/Users/drbrain/tmp/trunk/test/rdoc/test_rdoc_text.rb:560]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"mismatched tag
-"
+""

Finished tests in 8.225325s, 261.9957 tests/s, 634.7470 assertions/s.
2155 tests, 5221 assertions, 14 failures, 0 errors, 17 skips

ruby -v: ruby 2.0.0dev (2012-11-29 trunk 37968) [x86_64-darwin12.2.0]
make: *** [yes-test-all] Error 14

(r37967 is also broken, r37968 is only subversion properties changes)

=end

Updated by drbrain (Eric Hodel) almost 12 years ago

Fixed by r37974 thank you naruse

Updated by drbrain (Eric Hodel) almost 12 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0