Bug #7464

minitest 4.3.2 in r37967 breaks RDoc tests

Added by Eric Hodel over 1 year ago. Updated over 1 year ago.

[ruby-core:50294]
Status:Closed
Priority:Normal
Assignee:Ryan Davis
Category:lib
Target version:2.0.0
ruby -v:- Backport:

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#testaddmethodduplicate = 0.02 s

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

[ 482/2155] TestRDocContextSection#testsequence = 0.01 s

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

[ 501/2155] TestRDocEncoding#testclassreadfileencodinginvalid = 0.0

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

[ 504/2155] TestRDocEncoding#testclassreadfileencodingfail = 0.00 s

5) Failure:
test
classreadfileencodingfail(TestRDocEncoding) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocencoding.rb:62]:
Expected /unable to convert/ to match "".

[1441/2155] TestRDocOptions#testwarn = 0.01 s

6) Failure:
test
warn(TestRDocOptions) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocoptions.rb:580]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"warnings on
-"
+""

[1474/2155] TestRDocOptions#testcheckfileswarn = 0.01 s

7) Failure:
test
checkfileswarn(TestRDocOptions) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocoptions.rb:55]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"file 'nonexistent' not found
-"
+""

[1512/2155] TestRDocParserC#testdomethodsincpp = 0.00 s

8) Failure:
testdomethodsincpp(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocparser_c.rb:578]:
Expected /\ blah.cpp\ / to match "".

[1530/2155] TestRDocParserC#testdomethodsinc = 0.00 s

9) Failure:
testdomethodsinc(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocparser_c.rb:556]:
Expected /\ blah.c\ / to match "".

[1534/2155] TestRDocParserC#testdomethodsiny = 0.00 s

10) Failure:
testdomethodsiny(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocparser_c.rb:600]:
Expected /\ blah.y\ / to match "".

[1550/2155] TestRDocParserC#testdoaliasesmissingclass = 0.01 s

11) Failure:
testdoaliasesmissingclass(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocparser_c.rb:251]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"Enclosing class or module \"cDate\" for alias b a is not known
-"
+""

[1558/2155] TestRDocParserC#testdomissingcycle = 0.01 s

12) Failure:
test
domissingcycle(TestRDocParserC) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocparser_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#testnormalizedfilelistnonfiledirectory =

13) Failure:
testnormalizedfilelistnonfiledirectory(TestRDocRDoc) [/Users/drbrain/tmp/trunk/test/rdoc/testrdocrdoc.rb:140]:
Expected /rdoc can't parse/ to match "".

[…]

[2055/2155] TestRDocTask#testinlinesource = 0.01 s

30) Failure:
testinlinesource(TestRDocTask) [/Users/drbrain/tmp/trunk/test/rdoc/testrdoctask.rb:23]:
--- expected
+++ actual
@@ -1,2 +1 @@
-"RDoc::Task#inline_source is deprecated
-"
+""

[2072/2155] TestRDocText#testtohtmltttagmismatch = 0.01 s

31) Failure:
test
tohtmltttagmismatch(TestRDocText) [/Users/drbrain/tmp/trunk/test/rdoc/testrdoctext.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

History

#1 Updated by Eric Hodel over 1 year ago

Fixed by r37974 thank you naruse

#2 Updated by Eric Hodel over 1 year ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF