test/test_cmdline_regex.rb in getopt-declare-1.31 vs test/test_cmdline_regex.rb in getopt-declare-1.32
- old
+ new
@@ -25,10 +25,13 @@
-parity <p:/even|odd|both/> Set parity (<p> must be "even",
"odd" or "both")
-file <name:/\w*\.[A-Z]{3}/> File name must have a three-
capital-letter extension
-find <what:/(%T.)+/> ; look ahead test
+
EOPARAM
+
+
end
def test_ar
@args.parse('-ar 1')
assert_equal( 1.0, @args['-ar'] )