Changed the test for the Regexp plugin.

master
Jag Talon 2013-03-14 12:01:58 -04:00
parent 349efe2a1a
commit 7c4076f4f5
1 changed files with 6 additions and 3 deletions

View File

@ -10,12 +10,15 @@ zci is_cached => 1;
ddg_goodie_test(
[qw( DDG::Goodie::Regexp )],
'regexp /(hello)/ hello probably' => test_zci(
"hello",
'regexp /(hello\s)/ hello probably' => test_zci(
"hello ",
heading => 'Regexp Result',
),
'regexp /(dd)/ ddg' => test_zci(
"dd",
"dd",
heading => 'Regexp Result',
),
);
done_testing;