aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_title/SPtests/bugs/18.0.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_title/SPtests/bugs/18.0.php')
-rw-r--r--simplepie/test/feed_title/SPtests/bugs/18.0.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/bugs/18.0.php b/simplepie/test/feed_title/SPtests/bugs/18.0.php
new file mode 100644
index 000000000..5f63db252
--- /dev/null
+++ b/simplepie/test/feed_title/SPtests/bugs/18.0.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_Feed_Title_Test_Bug_18_Test_0 extends SimplePie_Feed_Title_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="2.0">
+ <channel>
+ <title>Channel title</title>
+ <image>
+ <title>Image title</title>
+ </image>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Channel title';
+ }
+}
+
+?> \ No newline at end of file