summaryrefslogtreecommitdiff
path: root/lib/Text/TabsWrap/t/39548.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Text/TabsWrap/t/39548.t')
-rwxr-xr-xlib/Text/TabsWrap/t/39548.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Text/TabsWrap/t/39548.t b/lib/Text/TabsWrap/t/39548.t
new file mode 100755
index 0000000000..6cca0865c1
--- /dev/null
+++ b/lib/Text/TabsWrap/t/39548.t
@@ -0,0 +1,11 @@
+#!/usr/bin/perl -w -I.
+
+# https://rt.perl.org/rt3/Ticket/Display.html?id=39548
+
+print "1..1\n";
+require Text::Wrap;
+$VAR1 = " (Karl-Bonhoeffer-Nervenklinik zwischen Hermann-Piper-Str. und U-Bahnhof) ";
+$VAR2 = " ";
+$VAR3 = "(5079,19635 5124,19634 5228,19320 5246,19244)\n";
+eval { Text::Wrap::wrap($VAR1,$VAR2,$VAR3); };
+print $@ ? "not ok 1\n" : "ok 1\n";