remove farts

master
er0k 2015-07-11 17:52:16 +00:00
parent c31cee144d
commit 52accc5cfb
2 changed files with 10 additions and 15 deletions

View File

@ -1,7 +1,5 @@
package DDG::Goodie::IsAwesome::er0k;
# ABSTRACT: Write an abstract here
# Start at https://duck.co/duckduckhack/goodie_overview if you are new
# to instant answer development
# ABSTRACT: er0k's goodie
use DDG::Goodie;
use strict;
@ -9,18 +7,15 @@ use strict;
zci answer_type => "is_awesome_er0k";
zci is_cached => 1;
# Metadata. See https://duck.co/duckduckhack/metadata for help in filling out this section.
# Metadata
name "IsAwesome er0k";
description "wtf is this?";
primary_example_queries "first example query", "second example query";
secondary_example_queries "optional -- demonstrate any additional triggers";
# Uncomment and complete: https://duck.co/duckduckhack/metadata#category
# category "";
# Uncomment and complete: https://duck.co/duckduckhack/metadata#topics
# topics "";
description "doin tutorials yup";
primary_example_queries "duckduckhack er0k";
category "special";
topics "special_interest", "geek";
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/er0k.pm";
attribution github => ["https://github.com/er0k", "er0k"],
twitter => "er0k";
twitter => "";
# Triggers
triggers any => "duckduckhack er0k";
@ -28,7 +23,7 @@ triggers any => "duckduckhack er0k";
# Handle statement
handle remainder => sub {
return if $_;
return "fart fart fart";
return ":)";
};
1;

View File

@ -10,8 +10,8 @@ zci is_cached => 1;
ddg_goodie_test(
[qw( DDG::Goodie::IsAwesome::er0k )],
'duckduckhack er0k' => test_zci('fart fart fart'),
'duckduckhack GitHubUsername is awesome' => undef,
'duckduckhack er0k' => test_zci(':)'),
'duckduckhack er0k is awesome' => undef,
);
done_testing;