Skip to content

Commit 6794c6c

Browse files
committed
Merge pull request #269 from reinh/markup-directive-error
Add a failing test case for #263
2 parents a1195ce + 45e7aaf commit 6794c6c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/test_rdoc_parser.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,17 @@ def test_class_use_markup
231231
assert_equal @RP::RD, parser
232232
end
233233

234+
def test_class_use_markup_rdoc
235+
content = <<-CONTENT
236+
# :markup: RDoc
237+
CONTENT
238+
239+
parser = @RP.use_markup content
240+
241+
assert_nil parser
242+
end
243+
244+
234245
def test_class_use_markup_markdown
235246
content = <<-CONTENT
236247
# coding: utf-8 markup: markdown

0 commit comments

Comments
 (0)