diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-01-14 21:56:40 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-01-14 21:56:40 +0000 |
commit | 1c0b011c3cb943300d25c09a1dd1623c83b99920 (patch) | |
tree | 7630566e158df7fbb900d3bd20382d75f0774dd0 /t | |
parent | a60c0954410db87be540ee8439afcd54350bbb8e (diff) | |
download | perl-1c0b011c3cb943300d25c09a1dd1623c83b99920.tar.gz |
Not working yet - split problems ...
p4raw-id: //depot/ansiperl@425
Diffstat (limited to 't')
-rwxr-xr-x[-rw-r--r--] | t/lib/thread.t | 0 | ||||
-rwxr-xr-x | t/op/tiearray.t | 15 |
2 files changed, 12 insertions, 3 deletions
diff --git a/t/lib/thread.t b/t/lib/thread.t index 9810ae48d9..9810ae48d9 100644..100755 --- a/t/lib/thread.t +++ b/t/lib/thread.t diff --git a/t/op/tiearray.t b/t/op/tiearray.t index da25760809..9e709bc751 100755 --- a/t/op/tiearray.t +++ b/t/op/tiearray.t @@ -101,7 +101,7 @@ sub SPLICE package main; -print "1..29\n"; +print "1..30\n"; my $test = 1; {my @ary; @@ -130,10 +130,19 @@ print "ok ", $test++,"\n"; print "not " unless $seen{'STORE'} >= 3; print "ok ", $test++,"\n"; - print "not " unless join(':',@ary) eq '1:2:3'; print "ok ", $test++,"\n"; +{my @thing = @ary; +print "not " unless join(':',@thing) eq '1:2:3'; +print "ok ", $test++,"\n"; + +tie @thing,'Implement'; +@thing = @ary; +print "not " unless join(':',@thing) eq '1:2:3'; +print "ok ", $test++,"\n"; +} + print "not " unless pop(@ary) == 3; print "ok ", $test++,"\n"; print "not " unless $seen{'POP'} == 1; @@ -194,7 +203,7 @@ untie @ary; } -print "not " unless $seen{'DESTROY'} == 1; +print "not " unless $seen{'DESTROY'} == 2; print "ok ", $test++,"\n"; |