Update goodie from review feedback

`use strict;` added -- I couln't find info on whether it had to be one line 1 or not, so I put it where @MrChrisW wrote a comment asking for it.

changed description and user-facing text to be exactly what the tutorial told me to write.
master
uniphil 2015-04-24 12:46:30 +00:00
parent 34022af717
commit 31a7758fc7
2 changed files with 4 additions and 3 deletions

View File

@ -2,12 +2,13 @@ package DDG::Goodie::IsAwesome::uniphil;
# ABSTRACT: uniphil's first Goodie
use DDG::Goodie;
use strict;
zci answer_type => "is_awesome_uniphil";
zci is_cached => 1;
name "IsAwesome uniphil";
description "My first Goodie, like so many before, in hopes of having a search engine tell me I'm awesome";
description "My first Goodie, it lets the world know uniphil is awesome";
primary_example_queries "duckduckhack uniphil";
category "special";
topics "special_interest", "geek";
@ -19,7 +20,7 @@ triggers start => "duckduckhack uniphil";
handle remainder => sub {
return if $_;
return "uniphil is awesome I guess. They successfully completed the DuckDuckHack Goodie tutorial anyway."
return "uniphil is awesome and has successfully completed the DuckDuckHack Goodie tutorial!"
};
1;

View File

@ -12,7 +12,7 @@ ddg_goodie_test(
[qw(
DDG::Goodie::IsAwesome::uniphil
)],
'duckduckhack uniphil' => test_zci('uniphil is awesome I guess. They successfully completed the DuckDuckHack Goodie tutorial anyway.'),
'duckduckhack uniphil' => test_zci('uniphil is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'),
'duckduckhack uniphil is awesome' => undef,
);