зеркало из https://github.com/github/ruby.git
[ruby/rdoc] Fix an exception class name
https://github.com/ruby/rdoc/commit/87301da71b
This commit is contained in:
Родитель
5137af633e
Коммит
86df6f4bb3
|
@ -36,7 +36,7 @@ module RDoc
|
|||
"rb_cTime" => "Time",
|
||||
"rb_cTrueClass" => "TrueClass",
|
||||
|
||||
"rb_eArgError" => "ArgError",
|
||||
"rb_eArgError" => "ArgumentError",
|
||||
"rb_eEOFError" => "EOFError",
|
||||
"rb_eException" => "Exception",
|
||||
"rb_eFatal" => "fatal",
|
||||
|
|
|
@ -115,6 +115,8 @@ class TestRDocParserC < RDoc::TestCase
|
|||
|
||||
parser = RDoc::Parser::C.new @top_level, @fn, '', @options, @stats
|
||||
|
||||
assert_equal "ArgumentError", parser.known_classes["rb_eArgError"]
|
||||
|
||||
expected = { 'cSomeExt' => some_ext }
|
||||
assert_equal expected, parser.classes
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче