IsAwesome::amneher: Clean up.
parent
1af1e811bc
commit
a1a392d212
|
@ -14,8 +14,8 @@ primary_example_queries "duckduckhack amneher";
|
|||
category "special";
|
||||
topics "special_interest", "geek";
|
||||
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/amneher.pm";
|
||||
attribution github => ["amneher"],
|
||||
twitter => "amneher";
|
||||
attribution github => ["amneher", "Andrew Neher"],
|
||||
twitter => ["amneher", "Andrew Neher"];
|
||||
|
||||
|
||||
triggers start => "duckduckhack amneher";
|
||||
|
@ -23,7 +23,7 @@ triggers start => "duckduckhack amneher";
|
|||
|
||||
handle remainder => sub {
|
||||
return if $_;
|
||||
return "amneher is awesome and has just completed the duckduckhack goodie tutorial!";
|
||||
return "amneher is awesome and has successfully completed the DuckDuckHack Goodie tutorial!";
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
@ -10,12 +10,7 @@ zci is_cached => 1;
|
|||
|
||||
ddg_goodie_test(
|
||||
[qw( DDG::Goodie::IsAwesome::amneher )],
|
||||
# At a minimum, be sure to include tests for all:
|
||||
# - primary_example_queries
|
||||
# - secondary_example_queries
|
||||
'duckduckhack amneher' => test_zci('amneher is awesome and has just completed the duckduckhack goodie tutorial!'),
|
||||
# Try to include some examples of queries on which it might
|
||||
# appear that your answer will trigger, but does not.
|
||||
'duckduckhack amneher' => test_zci('amneher is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'),
|
||||
'duckduckhack amneher is awesome' => undef,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue