Skip to content

Commit

Permalink
More GFF3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fangly committed Oct 11, 2011
1 parent 766ed3c commit 18b7aaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/gff3.t
Expand Up @@ -118,6 +118,7 @@ $scount = 0;
ok( $io = Bio::FeatureIO->new( -file => test_input_file('hybrid1.gff3') ) );

#try to read sequences first. should be undef
is $io->seqio, undef;
while($s = $io->next_seq()){
$scount++;
}
Expand Down Expand Up @@ -154,8 +155,10 @@ while($f = $io->next_feature()){
is($fcount , 6);

#then try to read sequences again.
isa_ok $io->seqio, 'Bio::SeqIO';
while($s = $io->next_seq()){
$scount++;
isa_ok $s, 'Bio::SeqI';
if ($scount == 1) {
is($s->id, 'A00469');
}
Expand Down

0 comments on commit 18b7aaf

Please sign in to comment.