From 4189b37d081c7284fb0e3bd37649c9ce8a296dd8 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Mon, 5 Nov 2012 14:50:19 +0000 Subject: [PATCH] use Test::More rather than old Test library. Avoids breaking tests when we change the numbers of tests run --- modules/t/proteinFeatureAdaptor.t | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/t/proteinFeatureAdaptor.t b/modules/t/proteinFeatureAdaptor.t index 081e4f2c98..5cc0016a5c 100644 --- a/modules/t/proteinFeatureAdaptor.t +++ b/modules/t/proteinFeatureAdaptor.t @@ -2,11 +2,7 @@ use strict; use Bio::EnsEMBL::Test::TestUtils; -BEGIN { - $| = 1; - use Test; - plan tests => 2; -} +use Test::More; use Bio::EnsEMBL::Test::MultiTestDB; @@ -84,3 +80,5 @@ ok(@$pfs == 16); my @pfs = grep{$_->hdescription() eq $hdes} @$pfs; ok(scalar @pfs > 0); + +done_testing(); \ No newline at end of file -- GitLab