Permalink
Browse files

Ensure --extension is recorded in the parser list

Follow up commit to the rdoc -E fix
  • Loading branch information...
1 parent 99b693c commit 5efbe401dfec3ad4e0e2e34086877647e9e99bd4 @drbrain drbrain committed Jan 4, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test_rdoc_options.rb
@@ -554,6 +554,8 @@ def test_parse_extension_alias
@options.parse %w[--extension foobar=rdoc]
end
+ assert_includes RDoc::Parser.parsers, [/\.foobar$/, RDoc::Parser::Simple]
+
assert_empty out
assert_empty err
end

0 comments on commit 5efbe40

Please sign in to comment.