Skip to content

Commit 6772762

Browse files
committed
Test #c_function
1 parent ada1f9a commit 6772762

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test_rdoc_any_method.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ def test_arglists
3434
assert_equal call_seq, m.arglists
3535
end
3636

37+
def test_c_function
38+
@c1_m.c_function = 'my_c1_m'
39+
40+
assert_equal 'my_c1_m', @c1_m.c_function
41+
end
42+
3743
def test_full_name
3844
assert_equal 'C1::m', @c1.method_list.first.full_name
3945
end

0 commit comments

Comments
 (0)