summaryrefslogtreecommitdiff
path: root/cpan/Archive-Tar/t/01_use.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-26 05:37:30 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-26 05:37:30 +0100
commitad73611d3a91f38464b3d95e2d6b43d4a57ef82f (patch)
treedb5327c9b024654bfda052f593eb82b391018aa2 /cpan/Archive-Tar/t/01_use.t
parente00e4ce90e17ff7101c36fc5496e8b2e353e7f7b (diff)
downloadperl-ad73611d3a91f38464b3d95e2d6b43d4a57ef82f.tar.gz
Move Archive::Tar from ext/ to cpan/
Diffstat (limited to 'cpan/Archive-Tar/t/01_use.t')
-rw-r--r--cpan/Archive-Tar/t/01_use.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpan/Archive-Tar/t/01_use.t b/cpan/Archive-Tar/t/01_use.t
new file mode 100644
index 0000000000..0641086306
--- /dev/null
+++ b/cpan/Archive-Tar/t/01_use.t
@@ -0,0 +1,7 @@
+use Test::More tests => 2;
+use strict;
+
+use_ok('Archive::Tar') or diag 'Archive::Tar not found -- exit' && die;
+
+my $tar = new Archive::Tar;
+isa_ok( $tar, 'Archive::Tar', 'Object created' );