Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
1ff69b31
Commit
1ff69b31
authored
Apr 26, 2012
by
Andy Yates
Browse files
Changed to using Test::More and now use note instead of a warn to stop output contamination
parent
5dc9ba1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/t/transcript.t
modules/t/transcript.t
+4
-5
No files found.
modules/t/transcript.t
View file @
1ff69b31
...
...
@@ -2,10 +2,7 @@ use strict;
use
warnings
;
use
vars
qw( $verbose )
;
BEGIN
{
$|
=
1
;
use
Test
;
plan
tests
=>
153
;
}
use
Test::
More
;
use
Bio::EnsEMBL::Test::
MultiTestDB
;
use
Bio::EnsEMBL::Test::
TestUtils
;
...
...
@@ -265,7 +262,7 @@ debug("Test fetch_all_by_biotype");
my
@transcripts
=
@
{
$ta
->
fetch_all_by_biotype
('
protein_coding
')};
ok
(
@transcripts
==
25
);
@transcripts
=
@
{
$ta
->
fetch_all_by_biotype
(['
protein_coding
','
pseudogene
'])};
warn
"
Got
"
.
scalar
(
@transcripts
)
.
"
transcripts
\n
";
note
"
Got
"
.
scalar
(
@transcripts
)
.
"
transcripts
\n
";
ok
(
@transcripts
==
25
);
...
...
@@ -728,3 +725,5 @@ sub print_coords {
my
$registry
=
'
Bio::EnsEMBL::Registry
';
my
(
$species
,
$object_type
,
$db_type
)
=
$registry
->
get_species_and_object_type
('
ENST00000355555
');
ok
(
$species
eq
'
homo_sapiens
'
&&
$object_type
eq
'
Transcript
');
done_testing
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment