Remove duplicated code.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 11 Oct 2000 00:26:04 +0000 (00:26 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 11 Oct 2000 00:26:04 +0000 (00:26 +0000)
p4raw-id: //depot/perl@7199

t/lib/cgi-html.t

index 21bbcfb..50c8408 100755 (executable)
@@ -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 '<h1 />',"single tag");
 test(3,h1('fred') eq '<h1>fred</h1>',"open/close tag");