Skip Menu |

This queue is for tickets about the Bot-BasicBot-Pluggable CPAN distribution.

Report information
The Basics
Id: 46928
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Bot-BasicBot-Pluggable

People
Owner: MDOM [...] cpan.org
Requestors: ishigaki [...] cpan.org
Cc:
AdminCc:

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



Subject: local infobot test fails due to a difference of file::// uri on MSWin32
Hi. Bot::BasicBot::Pluggable's infobot test fails on Windows with XML::Feed as its file uri looks like file://C:/blah/blah/infobot.t (note that the number of slashes after the "file:" schema). Attached patch would fix this. Thanks, Kenichi Ishigaki
Subject: Bot-BasicBot-Pluggable-0.72.patch
diff -ur Bot-BasicBot-Pluggable-0.72/t/infobot.t Bot-BasicBot-Pluggable-0.72-patch/t/infobot.t --- Bot-BasicBot-Pluggable-0.72/t/infobot.t Thu Jun 4 20:03:18 2009 +++ Bot-BasicBot-Pluggable-0.72-patch/t/infobot.t Sun Jun 14 11:34:14 2009 @@ -84,7 +84,7 @@ is( say_indirect("rsstest?"), "title", "can read rss"); say_direct("rsstest2 is <rss=\"file://$Bin/infobot.t\">"); -like( say_indirect("rsstest2?"), qr{rsstest2 is << Error parsing RSS from file:///.*/infobot.t: Cannot detect feed type >>}, "can't read rss"); +like( say_indirect("rsstest2?"), qr{rsstest2 is << Error parsing RSS from file://.*/infobot.t: Cannot detect feed type >>}, "can't read rss"); }
On Sat Jun 13 22:40:00 2009, ISHIGAKI wrote: Show quoted text
> Hi. Bot::BasicBot::Pluggable's infobot test fails on Windows with > XML::Feed as its file uri looks like file://C:/blah/blah/infobot.t > (note that the number of slashes after the "file:" schema). Attached > patch would fix this.
Thanks for the bugreport, i fixed this on git hub and your patch will became part of the next release. Best wishes, Maro