test/test_cmdline_array.rb in getopt-declare-1.31 vs test/test_cmdline_array.rb in getopt-declare-1.32

- old
+ new

@@ -47,17 +47,7 @@ @args.parse("-v 20 etc #@file crapola -o abc goodbye other") assert_equal( ['abc', 'goodbye', 'other'], @args['-o'] ) assert_equal( ['crapola'], @args.unused ) end - def test_usage - usage = @args.usage - # We don't check first lines, as they contain date - usage.sub!(/.*Options:\n/m, '') - assert_equal( <<"EOF", usage ) - -v <value> [etc] One or more values - <infile> Input file - -o <outfiles>... Output files -EOF - end end