summarylogtreecommitdiffstats
path: root/110_sort_usage_by_attr_order.t.patch
diff options
context:
space:
mode:
authorDirk Langer2024-02-13 08:06:32 +0100
committerDirk Langer2024-02-13 08:06:32 +0100
commitff3e475edb7d727cb7573cb211854aa92884e40d (patch)
treebc6a3ac2270adac53c3d2d89aad01370c9ac89e5 /110_sort_usage_by_attr_order.t.patch
parent16c23eb53faeb9c3a78a5bebf68b0f0aaf8b77f6 (diff)
downloadaur-perl-mousex-getopt.tar.gz
add patches for Getopt-Long-Descriptive
Diffstat (limited to '110_sort_usage_by_attr_order.t.patch')
-rw-r--r--110_sort_usage_by_attr_order.t.patch19
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 @@
++