X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Fsplice.t;h=6d9b71f06474a4451cc59e970d18c9d6aba48a76;hb=3511154c18a0900e8873e8e72a4b74931525e718;hp=d1bfe999e5fb81c05ccb7d9865d386531721d265;hpb=aae9faaef48c83ef5b906434cb0a359c3263c598;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/splice.t b/t/op/splice.t index d1bfe99..6d9b71f 100755 --- a/t/op/splice.t +++ b/t/op/splice.t @@ -21,7 +21,7 @@ print "ok 4\n"; print "not " unless j(splice(@a,5,1,5)) eq "5" && j(@a) eq j(0..11); print "ok 5\n"; -print "not " unless j(splice(@a, 20, 0, 12, 13)) eq "" && j(@a) eq j(0..13); +print "not " unless j(splice(@a, @a, 0, 12, 13)) eq "" && j(@a) eq j(0..13); print "ok 6\n"; print "not " unless j(splice(@a, -@a, @a, 1, 2, 3)) eq j(0..13) && j(@a) eq j(1..3);