projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ae9dc
)
Remove duplicated code.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 11 Oct 2000 00:26:04 +0000
(
00:26
+0000)
committer
Jarkko 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
patch
|
blob
|
history
diff --git
a/t/lib/cgi-html.t
b/t/lib/cgi-html.t
index
21bbcfb
..
50c8408
100755
(executable)
--- 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 '<h1 />',"single tag");
test(3,h1('fred') eq '<h1>fred</h1>',"open/close tag");