diff options
Diffstat (limited to '110_sort_usage_by_attr_order.t.patch')
-rw-r--r-- | 110_sort_usage_by_attr_order.t.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/110_sort_usage_by_attr_order.t.patch b/110_sort_usage_by_attr_order.t.patch new file mode 100644 index 000000000000..8a1aba941724 --- /dev/null +++ b/110_sort_usage_by_attr_order.t.patch @@ -0,0 +1,19 @@ +--- 110_sort_usage_by_attr_order.t 2019-01-26 04:38:13.000000000 +0100 ++++ 110_sort_usage_by_attr_order.t 2024-02-13 06:46:31.222291073 +0100 +@@ -67 +67,13 @@ +-$expected =~ s/^[ ]{4}/\t/xmsg; ++# Note: Getopt::Long::Descriptive 0.106 not supported ++if ( $Getopt::Long::Descriptive::VERSION >= 0.107 ) ++{ ++$expected = <<'USAGE'; ++usage: 110_sort_usage_by_attr_order.t [-?] [long options...] ++ --[no-]help (or -?) Prints this usage information. ++ aka --usage ++ --foo STR Documentation for "foo" ++ --bar STR Documentation for "bar" ++ --baz STR Documentation for "baz" ++USAGE ++} ++$expected =~ s/^[ ]{4}/\t/xmsg unless $Getopt::Long::Descriptive::VERSION >= 0.113; +@@ -68,0 +81 @@ ++ |