12345678910111213141516171819 |
- use Test::More;
-
- use lib 'lib';
- use helper;
-
- BEGIN { use_ok( 'SugarTrail::Repo' ); }
- require_ok( 'SugarTrail::Repo' );
-
- my $repo = SugarTrail::Repo->new(root => './t/data/strepo', vcs => 'git');
- &helper::dmupp(repo=>$repo);
- ok($repo, "repo is true");
-
- my $stm = $repo->load_stm(stm=>'/release/rc.stm');
- ok($stm, "stm is true");
-
- ok($stm->parse_headers(), "parse_headers() returns true");
- &helper::dmupp(stm=>$stm);
-
- done_testing();
|