summaryrefslogtreecommitdiff
path: root/tests/join
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-22 14:09:10 +0000
committerJim Meyering <jim@meyering.net>1996-12-22 14:09:10 +0000
commit1b47ed271434cea6ebdb28f799b49b6c0b40dc99 (patch)
tree50ad576e6d00d6853ecffb55191815033bda6f6e /tests/join
parentdcd02c800890e720b5c000c2b6b3ee3e01a581f7 (diff)
downloadcoreutils-1b47ed271434cea6ebdb28f799b49b6c0b40dc99.tar.xz
Use test_vector, not array @t.
Diffstat (limited to 'tests/join')
-rw-r--r--tests/join/Test.pm10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/join/Test.pm b/tests/join/Test.pm
index 80bde167c..381c40ccd 100644
--- a/tests/join/Test.pm
+++ b/tests/join/Test.pm
@@ -2,7 +2,7 @@ package Test;
require 5.002;
use strict;
-@Test::t = (
+my @tv = (
# test name
# flags file-1 file-2 expected output expected return code
#
@@ -90,8 +90,12 @@ use strict;
"a .\nb .\nc .\nd G\ne .\n", 0],
# From David Dyck
-['9a', '',
- [" a 1\n b 2\n", " a Y\n b Z\n"], "a 1 Y\nb 2 Z\n", 0],
+['9a', '', [" a 1\n b 2\n", " a Y\n b Z\n"], "a 1 Y\nb 2 Z\n", 0],
);
+sub test_vector
+{
+ return @tv;
+}
+
1;