We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--force-update
1 parent 555b294 commit 3c56707Copy full SHA for 3c56707
test/rdoc/test_rdoc_options.rb
@@ -296,6 +296,20 @@ def test_parse_formatter
296
e.message
297
end
298
299
+ def test_parse_force_update
300
+ @options.parse %w[--force-update]
301
+
302
+ assert @options.force_update
303
304
+ @options.parse %w[--no-force-update]
305
306
+ assert !@options.force_update
307
308
+ @options.parse %w[-U]
309
310
311
+ end
312
313
def test_parse_formatter_ri
314
e = assert_raise OptionParser::InvalidOption do
315
@options.parse %w[--format darkfish --ri]
0 commit comments