summaryrefslogtreecommitdiff
path: root/test/rdoc/rdoc_alias_test.rb
blob: 827002e729c6f83820a81f7f7c8667c7237550fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true
require_relative 'xref_test_case'

class RDocAliasTest < 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