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

class TestRDocSingleClass < XrefTestCase

  def test_definition
    c = RDoc::SingleClass.new 'C'

    assert_equal 'class << C', c.definition
  end

end