IsAwesome::amneher: Clean up.

master
jagtalon 2015-01-15 14:49:25 +00:00
parent 1af1e811bc
commit a1a392d212
2 changed files with 4 additions and 9 deletions

View File

@ -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;

View File

@ -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,
);