Skip Menu |

This queue is for tickets about the Astro-SIMBAD CPAN distribution.

Report information
The Basics
Id: 662
Status: resolved
Worked: 4 min
Priority: 0/
Queue: Astro-SIMBAD

People
Owner: Nobody in particular
Requestors: sinan [...] sinan.physics.metu.edu.tr
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.9.1
Fixed in: (no value)



Subject: Query module works but test fails due to change in SIMBAD db
Dist: Astro-SIMBAD-1.9.1 Perl: N/A OS: N/A All the informations and tests were ok except the query for the object named "3C 273C". When I made the test in verbose mode I realised the reason. The test string was not matched due to an update in the db. The attached patch should solve this failure. However my "wishlist" would be to avoid such a object name in the query. Instead an object name that starts with "1X.." or smiliar would be more convinient. Dr.Sinan Kaan Yerli sinan@sinan.physics.metu.edu.tr
diff -c -r Astro-SIMBAD-1.9.1/t/query.t Astro-SIMBAD-1.9.1.new/t/query.t *** Astro-SIMBAD-1.9.1/t/query.t Wed Nov 28 19:39:31 2001 --- Astro-SIMBAD-1.9.1.new/t/query.t Fri May 24 17:21:49 2002 *************** *** 48,54 **** print "# Continuing Tests\n"; my @multi_list = $multi_result->listofobjects(); ! ok( "@multi_list", "3C 273C [CME2001] 3C 273 1 [VV96] J122906.7+020308"); # Time at the bar... --- 48,54 ---- print "# Continuing Tests\n"; my @multi_list = $multi_result->listofobjects(); ! ok( "@multi_list", "2A 1225+022 3C 273C [CME2001] 3C 273 1"); # Time at the bar...
Applied patch and resolved bug. Thanks, Alasdair Allan <aa@astro.ex.ac.uk>
Applied patch and resolved bug. Thanks, Alasdair Allan <aa@astro.ex.ac.uk>