Merge pull request #754 from duckduckgo/jag/reverse-meta

Reverse: Update metadata
master
Matt Miller 2014-11-13 23:57:36 +02:00
commit 312de70bd5
2 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ package DDG::Goodie::Reverse;
use DDG::Goodie;
primary_example_queries 'reverse esrever';
primary_example_queries 'reverse text esrever';
description 'reverse the order of the characters in your query';
name 'Reverse';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Reverse.pm';

View File

@ -9,16 +9,16 @@ zci answer_type => 'reverse';
zci is_cached => 1;
ddg_goodie_test(
[qw(
DDG::Goodie::Reverse
)],
'reverse text bla' => test_zci('Reversed "bla": alb'),
'reverse text blabla' => test_zci('Reversed "blabla": albalb'),
[qw(DDG::Goodie::Reverse)],
# Primary example query
'reverse text esrever' => test_zci('Reversed "esrever": reverse'),
'reverse' => undef,
# Other queries
'reverse text bla' => test_zci('Reversed "bla": alb'),
'reverse text blabla' => test_zci('Reversed "blabla": albalb'),
'reverse' => undef,
#Should not trigger on a request for DNA/RNA reverse complement
'reverse complement of ATG-CTA-GGG-GCT' => undef,
'reverse complement of ATG-CTA-GGG-GCT' => undef,
'reverse complement gacuacgaucgagkmanscuag' => undef
);