blob: ee242d7bc9e4c15573a2f114c983d6e2376251b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# frozen_string_literal: true
require_relative 'helper'
class TestRDocSingleClass < RDoc::TestCase
def setup
super
@c = RDoc::SingleClass.new 'C'
end
def test_aref_prefix
assert_equal 'sclass', @c.aref_prefix
end
def test_definition
assert_equal 'class << C', @c.definition
end
end
|