mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
parent
5137af633e
commit
86df6f4bb3
2 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,7 @@ module RDoc
|
||||||
"rb_cTime" => "Time",
|
"rb_cTime" => "Time",
|
||||||
"rb_cTrueClass" => "TrueClass",
|
"rb_cTrueClass" => "TrueClass",
|
||||||
|
|
||||||
"rb_eArgError" => "ArgError",
|
"rb_eArgError" => "ArgumentError",
|
||||||
"rb_eEOFError" => "EOFError",
|
"rb_eEOFError" => "EOFError",
|
||||||
"rb_eException" => "Exception",
|
"rb_eException" => "Exception",
|
||||||
"rb_eFatal" => "fatal",
|
"rb_eFatal" => "fatal",
|
||||||
|
|
|
@ -115,6 +115,8 @@ class TestRDocParserC < RDoc::TestCase
|
||||||
|
|
||||||
parser = RDoc::Parser::C.new @top_level, @fn, '', @options, @stats
|
parser = RDoc::Parser::C.new @top_level, @fn, '', @options, @stats
|
||||||
|
|
||||||
|
assert_equal "ArgumentError", parser.known_classes["rb_eArgError"]
|
||||||
|
|
||||||
expected = { 'cSomeExt' => some_ext }
|
expected = { 'cSomeExt' => some_ext }
|
||||||
assert_equal expected, parser.classes
|
assert_equal expected, parser.classes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue