~ubuntu-branches/ubuntu/wily/libfile-fu-perl/wily-proposed

« back to all changes in this revision

Viewing changes to t/00-load.t

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Yu
  • Date: 2009-07-25 07:10:04 UTC
  • Revision ID: james.westby@ubuntu.com-20090725071004-p7cmwowvpf0f7k81
Tags: upstream-0.0.6
ImportĀ upstreamĀ versionĀ 0.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
use warnings;
 
3
use strict;
 
4
 
 
5
use Test::More tests => 1;
 
6
 
 
7
my $package = 'File::Fu';
 
8
eval("require $package");
 
9
my $err = $@;
 
10
ok(! $err, 'load ok');
 
11
if($err) {
 
12
  warn $err, "\n";
 
13
  BAIL_OUT("cannot load $package STOP!");
 
14
}
 
15
 
 
16
eval {require version};
 
17
diag("Testing $package ", $package->VERSION );
 
18
 
 
19
# vim:syntax=perl:ts=2:sw=2:et:sta