root/trunk/plagger/t/plugins/Filter-HatenaDiaryKeywordUnlink/base.t

Revision 1444 (checked in by hsbt, 14 years ago)

fix test name for Filter::Regexp, add test for Filter::HatenaDiaryKeyword*

Line 
1 use strict;
2 use t::TestPlagger;
3
4 plan 'no_plan';
5 run_eval_expected;
6
7 __END__
8
9 === Loading Filter::HatenaDiaryKeywordUnlink
10 --- input config
11 plugins:
12   - module: CustomFeed::Debug
13     config:
14       title: foo
15       entry:
16         - title: bar
17           body: <a class="keyword" href="http://d.hatena.ne.jp/keyword/Plagger">Plagger</a> is a pluggable aggregator
18   - module: Filter::HatenaDiaryKeywordUnlink
19 --- expected
20 is $context->update->feeds->[0]->entries->[0]->body, "Plagger is a pluggable aggregator"
Note: See TracBrowser for help on using the browser.