summaryrefslogtreecommitdiff
path: root/t/op/join.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-12-30 06:19:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-30 06:19:18 +0000
commit0c981600188aac3b6bf2ea127df9e7da5bd4b1a3 (patch)
treed93810619259c25bb42caeab89670d1bb528bb47 /t/op/join.t
parentf0e40504961b24be8b96e8007fefc833f9e69328 (diff)
downloadperl-0c981600188aac3b6bf2ea127df9e7da5bd4b1a3.tar.gz
Undo all the join-related changes since #8248: relevant
portions of 8248, 8249, 8250, 8251, 8260, 8263 must go. The new sv_catsv() doesn't fly so it must go back to the drawing board. p4raw-id: //depot/perl@8264
Diffstat (limited to 't/op/join.t')
-rwxr-xr-xt/op/join.t33
1 files changed, 1 insertions, 32 deletions
diff --git a/t/op/join.t b/t/op/join.t
index 4cbe692b80..b50878e735 100755
--- a/t/op/join.t
+++ b/t/op/join.t
@@ -1,6 +1,6 @@
#!./perl
-print "1..14\n";
+print "1..10\n";
@x = (1, 2, 3);
if (join(':',@x) eq '1:2:3') {print "ok 1\n";} else {print "not ok 1\n";}
@@ -44,34 +44,3 @@ if ($f eq 'baeak') {print "ok 6\n";} else {print "# '$f'\nnot ok 6\n";}
print "# expected 'a17b21c' got '$r'\nnot " if $r ne 'a17b21c';
print "ok 10\n";
};
-
-{ my $s = join("", chr(1234),chr(255));
- print "not " unless length($s) == 2 &&
- ord(substr($s,0,1)) == 1234 &&
- ord(substr($s,1,1)) == 255;
- print "ok 11\n";
-}
-
-{ my $s = join(chr(2345), chr(1234),chr(255));
- print "not " unless length($s) == 3 &&
- ord(substr($s,0,1)) == 1234 &&
- ord(substr($s,1,1)) == 2345 &&
- ord(substr($s,2,1)) == 255;
- print "ok 12\n";
-}
-
-{ my $s = join(chr(2345), chr(1234),chr(3456));
- print "not " unless length($s) == 3 &&
- ord(substr($s,0,1)) == 1234 &&
- ord(substr($s,1,1)) == 2345 &&
- ord(substr($s,2,1)) == 3456;
- print "ok 13\n";
-}
-
-{ my $s = join(chr(255), chr(1234),chr(2345));
- print "not " unless length($s) == 3 &&
- ord(substr($s,0,1)) == 1234 &&
- ord(substr($s,1,1)) == 255 &&
- ord(substr($s,2,1)) == 2345;
- print "ok 14\n";
-}