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");
}