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-hive
Commits
88a6fd2d
Commit
88a6fd2d
authored
Nov 17, 2014
by
Matthieu Muffato
Browse files
Transformed into a Perl test
parent
c848696d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
t/require_code_version.pl
t/require_code_version.pl
+0
-9
t/require_code_version.t
t/require_code_version.t
+14
-0
No files found.
t/require_code_version.pl
deleted
100755 → 0
View file @
c848696d
#!/usr/bin/env perl
use
strict
;
use
warnings
;
use
Bio::EnsEMBL::Hive::
Version
2.0
;
print
"
Hello, world! We are using Hive version
"
.
Bio::EnsEMBL::Hive::
Version
->
get_code_version
.
"
\n
";
t/require_code_version.t
0 → 100755
View file @
88a6fd2d
#!/usr/bin/env perl
use
strict
;
use
warnings
;
use
Test::
More
;
use
Data::
Dumper
;
eval
"
use Bio::EnsEMBL::Hive::Version 4.0
";
is
(
$@
?
0
:
1
,
0
,
'
cannot import eHive 4.0
');
eval
"
use Bio::EnsEMBL::Hive::Version 2.0
";
is
(
$@
?
0
:
1
,
1
,
'
can import eHive 2.0
');
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