summaryrefslogtreecommitdiff
path: root/jni/ruby/test/rdoc/test_rdoc_alias.rb
blob: ff499af96286d17658378d872eb0cc3a1289693a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require File.expand_path '../xref_test_case', __FILE__

class TestRDocAlias < XrefTestCase

  def test_to_s
    a = RDoc::Alias.new nil, 'a', 'b', ''
    a.parent = @c2

    assert_equal 'alias: b -> #a in: RDoc::NormalClass C2 < Object', a.to_s
  end

end