version 1.4, 2010/01/09 06:54:15 |
version 1.5, 2010/01/09 07:02:35 |
|
|
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# COMPANY: Red River Communications |
# COMPANY: Red River Communications |
# CREATED: 01/07/10 19:11 |
# CREATED: 01/07/10 19:11 |
# REVISION: $RedRiver: list.t,v 1.3 2010/01/09 06:26:43 andrew Exp $ |
# REVISION: $RedRiver: list.t,v 1.4 2010/01/09 06:54:15 andrew Exp $ |
#=============================================================================== |
#=============================================================================== |
|
|
use strict; |
use strict; |
use warnings; |
use warnings; |
|
|
use Test::More; #tests => 2; |
use Test::More tests => 47; |
|
|
use File::Temp qw/ tempdir /; |
use File::Temp qw/ tempdir /; |
use Data::Dumper; |
use Data::Dumper; |
|
|
} |
} |
} |
} |
|
|
@projects; |
|
ok( @projects = $copy->listproj, 'listproj for current list' ); |
ok( @projects = $copy->listproj, 'listproj for current list' ); |
is_deeply( \@projects, [ 'dos', 'uno' ], 'got the projects we expected' ); |
is_deeply( \@projects, [ 'dos', 'uno' ], 'got the projects we expected' ); |
|
|