From: Jarkko Hietaniemi Date: Wed, 11 Oct 2000 00:26:04 +0000 (+0000) Subject: Remove duplicated code. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d9a374f9a3ea925f204ca6d0bdc88b9d6c09f5b9;p=p5sagit%2Fp5-mst-13.2.git Remove duplicated code. p4raw-id: //depot/perl@7199 --- diff --git a/t/lib/cgi-html.t b/t/lib/cgi-html.t index 21bbcfb..50c8408 100755 --- a/t/lib/cgi-html.t +++ b/t/lib/cgi-html.t @@ -33,14 +33,6 @@ sub test { print($true ? "ok $num\n" : "not ok $num $msg\n"); } -my $CRLF = "\015\012"; -if ($^O eq 'VMS') { - $CRLF = "\n"; # via web server carriage is inserted automatically -} -if (ord("\t") != 9) { # EBCDIC? - $CRLF = "\r\n"; -} - # all the automatic tags test(2,h1() eq '

',"single tag"); test(3,h1('fred') eq '

fred

',"open/close tag");