From d2ec687c1c676562214e199545c11500d7ecfed1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 30 Dec 2006 17:46:09 +0100 Subject: * tests/misc/base64: Factor a long, repetitive string. --- tests/misc/base64 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/misc/base64') diff --git a/tests/misc/base64 b/tests/misc/base64 index 02591da86..60332a044 100755 --- a/tests/misc/base64 +++ b/tests/misc/base64 @@ -37,8 +37,7 @@ use strict; # Turn off localisation of executable's ouput. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; -my $a39 = "YWFhY\nWFhYW\nFhYWF\nhYWFh\nYWFhY\nWFhYW\nFhYWF\n" - . "hYWFh\nYWFhY\nWFhYW\nFh"; +(my $a39 = 'YWFh' x 13) =~ s/(.{5})/$1\n/g; my @Tests = ( -- cgit v1.2.3-54-g00ecf