diff --git a/lib/DDG/Goodie/IsAwesome/Black616Angel.pm b/lib/DDG/Goodie/IsAwesome/Black616Angel.pm new file mode 100644 index 000000000..75b721219 --- /dev/null +++ b/lib/DDG/Goodie/IsAwesome/Black616Angel.pm @@ -0,0 +1,25 @@ +package DDG::Goodie::IsAwesome::Black616Angel; +# ABSTRACT: Black616Angels first Goodie + +use DDG::Goodie; + +zci answer_type => "is_awesome_black616angel"; +zci is_cached => 1; + +name "IsAwesome Black616Angel"; +description "My first Goodie, it lets the world know that Black616Angel awesome"; +primary_example_queries "duckduckhack Black616Angel"; +category "special"; +topics "special_interest", "geek"; +code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/Black616Angel.pm"; +attribution github => ["https://github.com/Black616Angel", "Black616Angel"], + ; + +triggers start => "duckduckhack black616angel"; + +handle remainder => sub { + return if $_; + return "Black616Angel is awesome and has successfully completed the DuckDuckHack Goodie tutorial!"; +}; + +1; diff --git a/t/IsAwesome/Black616Angel.t b/t/IsAwesome/Black616Angel.t new file mode 100644 index 000000000..604135e71 --- /dev/null +++ b/t/IsAwesome/Black616Angel.t @@ -0,0 +1,19 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use Test::More; +use DDG::Test::Goodie; + +zci answer_type => "is_awesome_black616angel"; +zci is_cached => 1; + +ddg_goodie_test( + [qw( + DDG::Goodie::IsAwesome::Black616Angel + )], + 'duckduckhack Black616Angel' => test_zci('Black616Angel is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'), + 'duckduckhack Black616Angel is awesome' => undef, +); + +done_testing;