Skip to content

Commit

Permalink
use done-testing()
Browse files Browse the repository at this point in the history
  • Loading branch information
cjfields committed Aug 31, 2015
1 parent 7ff353d commit b399be7
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion t/Annotation/Annotation.t
Expand Up @@ -27,4 +27,4 @@ $simple.value = 0;
is $simple.value, 0;
is ~$simple, 'Value: 0';

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Grammar/FTLocation.t
Expand Up @@ -32,4 +32,4 @@ ok(Bio::Grammar::FTLocation ~~ Grammar);
is($complex_ct, 121);
}

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Grammar/Fasta.t
Expand Up @@ -55,4 +55,4 @@ is($/.to, 804);
# TODO: use File::Spec-like path
ok( Bio::Grammar::Fasta.parsefile( './t/data/test.fasta' ) );

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Location/Simple.t
Expand Up @@ -58,4 +58,4 @@ ok(!$loc.is-remote, 'is-remote');
ok($loc.is-fuzzy, 'is-fuzzy');
is($loc, '1..100>', 'Stringified');

done();
done-testing();
2 changes: 1 addition & 1 deletion t/PrimarySeq.t
Expand Up @@ -252,4 +252,4 @@ $seq = Bio::PrimarySeq.new( display_id => ~ 0, seq => 'GATC' );

is($seq.display_id, 0, "Bug #2864");

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Range.t
Expand Up @@ -257,4 +257,4 @@ for %subtract_tests.keys.sort -> $set {
}
}

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Role/Aliased.t
Expand Up @@ -26,4 +26,4 @@ is($test.bar, 'Long time no see');

# TODO: add role tests...

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Role/Describable.t
Expand Up @@ -27,4 +27,4 @@ is($s.description, 'Goodbye, Mr. Bond');
#$s.desc = 'Frankly, my dear...'; # TODO: set via alias
#is($s.description, 'Frankly, my dear...');

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Role/IO.t
Expand Up @@ -49,7 +49,7 @@ is($in.mode, 'r');
is(MyIO.catfile('a', 'b', 'c'), $*SPEC.catfile('a', 'b', 'c'), 'catfile');
is(MyIO.catdir('a', 'b', 'c'), $*SPEC.catdir('a', 'b', 'c'), 'catdir');

done();
done-testing();

END {
unlink('hi.txt') if 'hi.txt'.IO:e;
Expand Down
2 changes: 1 addition & 1 deletion t/Role/Identifiable.t
Expand Up @@ -35,4 +35,4 @@ is($s.namespace, 'GenBank');
is($s.lsid_string, 'BioPerl6:GenBank:Foo');
is($s.namespace_string, 'GenBank:Foo');

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Role/Pluggable.t
Expand Up @@ -35,4 +35,4 @@ ok(1);

MyTest.new.test();

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Role/Temp.t
Expand Up @@ -116,4 +116,4 @@ my ($tfh,$tfile);
# }
#}

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Root.t
Expand Up @@ -38,4 +38,4 @@ eval-dies-ok('$n.throw("foo")');
eval-dies-ok('$n.warn("foo")');
lives-ok {$n.debug("foo")};

done();
done-testing();
2 changes: 1 addition & 1 deletion t/SeqIO.t
Expand Up @@ -40,4 +40,4 @@ is($in.format-variant, 'old', 'variant');

dies-ok {Bio::SeqIO.new(format => "foo")}, 'dies with an unknown format';

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Tools/CodonTable.t
Expand Up @@ -183,4 +183,4 @@ is $seq.translate.seq, 'M-K--N';
#ok my $cut = $io.next_data();
#is $myCodonTable.reverse_translate_best($seq,$cut), 'GCCTGCGACGAGTTCGGCCACATCAAGCTGATGAACCCCCAGCGCTCCACCGTGTGGTAC';

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Tools/FTLocationParser.t
Expand Up @@ -23,4 +23,4 @@ while $fh.get -> $line {

$fh.close;

done();
done-testing();
2 changes: 1 addition & 1 deletion t/Types.t
Expand Up @@ -36,4 +36,4 @@ ok('rna' ~~ SeqAlphabet);
ok('protein' ~~ SeqAlphabet);
ok('foo' !~~ SeqAlphabet);

done();
done-testing();

0 comments on commit b399be7

Please sign in to comment.