/[Perly]/t/01-Depends.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /t/01-Depends.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24 - (hide annotations)
Wed Jun 6 10:21:15 2007 UTC (17 years ago) by dpavlin
File MIME type: application/x-troff
File size: 347 byte(s)
Added dependency extractor borrowed from Module::Dependency::Indexer
1 dpavlin 24 #!/usr/bin/env perl
2     use warnings;
3     use strict;
4    
5     use Jifty::Test tests => 3;
6    
7     # Make sure we can load the action
8     use_ok('Perly::Depends');
9    
10     ok(my $dep = Perly::Depends->parse(qq{
11     use Foo;
12     use Foo::Bar;
13     use lowercase.pm;
14     }), 'parse');
15    
16     is_deeply( $dep, {
17     depended_upon_by => [],
18     depends_on => ["Foo", "Foo::Bar", "lowercase"],
19     }, 'dependencies');
20    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26