From 9a9f4db7423d5a5413db6cc9917d37598e601417 Mon Sep 17 00:00:00 2001 From: Chris Fields Date: Mon, 27 Oct 2014 23:39:06 -0500 Subject: [PATCH] squash waffling test --- t/RemoteDB/MeSH.t | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/t/RemoteDB/MeSH.t b/t/RemoteDB/MeSH.t index 10517f6ca..07910935c 100755 --- a/t/RemoteDB/MeSH.t +++ b/t/RemoteDB/MeSH.t @@ -4,15 +4,15 @@ use strict; BEGIN { - use lib '.'; - use Bio::Root::Test; - - test_begin(-tests => 5, - -requires_modules => [qw(IO::String - LWP::UserAgent - HTTP::Request::Common)], - -requires_networking => 1); - + use lib '.'; + use Bio::Root::Test; + + test_begin(-tests => 5, + -requires_modules => [qw(IO::String + LWP::UserAgent + HTTP::Request::Common)], + -requires_networking => 1); + use_ok('Bio::DB::MeSH'); } @@ -27,6 +27,6 @@ SKIP: { is $t->each_twig(), 2; eval {$t = $mesh->get_exact_term("Sinus Thrombosis, Intracranial");}; skip "Couldn't connect to MeSH with Bio::DB::MeSH. Skipping those tests", 2 if $@; - is $t->description, "Formation or presence of a blood clot (THROMBUS) in the CRANIAL SINUSES, large endothelium-lined venous channels situated within the SKULL. Intracranial sinuses, also called cranial venous sinuses, include the superior sagittal, cavernous, lateral, petrous sinuses, and many others. Cranial sinus thrombosis can lead to severe HEADACHE; SEIZURE; and other neurological defects."; + like $t->description, qr/Thrombus/i; is $t->id, "D012851"; } -- 2.11.4.GIT