diff options
Diffstat (limited to 'test/rdoc/test_rdoc_normal_module.rb')
-rw-r--r-- | test/rdoc/test_rdoc_normal_module.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_normal_module.rb b/test/rdoc/test_rdoc_normal_module.rb index 120f56a284..1944564596 100644 --- a/test/rdoc/test_rdoc_normal_module.rb +++ b/test/rdoc/test_rdoc_normal_module.rb @@ -23,6 +23,11 @@ class TestRDocNormalModule < XrefTestCase assert_equal [mod2, incl.name], mod.ancestors end + def test_aref + assert_equal 'module-M1', @m1.aref + assert_equal 'module-M1::M2', @m1_m2.aref + end + def test_definition m = RDoc::NormalModule.new 'M' |