Commit 88a6fd2d authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Transformed into a Perl test

parent 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";
#!/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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment