diff --git a/lib/DDG/Goodie/IsAwesome/gokul1794.pm b/lib/DDG/Goodie/IsAwesome/gokul1794.pm new file mode 100644 index 000000000..1c9aafeb0 --- /dev/null +++ b/lib/DDG/Goodie/IsAwesome/gokul1794.pm @@ -0,0 +1,26 @@ +package DDG::Goodie::IsAwesome::gokul1794; +# ABSTRACT: gokul1794's first goodie + +use DDG::Goodie; +use strict; + +zci answer_type => "is_awesome_gokul1794"; +zci is_cached => 1; + +name "IsAwesome gokul1794"; +description "Not my first goodie, but let the world know that gokul1794 is awesome"; +primary_example_queries "duckduckhack gokul1794"; +category "special"; +topics "special_interest", "geek"; +code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/gokul1794.pm"; +attribution github => ["https://github.com/gokul1794", "gokul1794"], + twitter => "gokul_shanth"; + +triggers start => "duckduckhack gokul1794"; + +handle remainder => sub { + return if $_; + return "gokul1794 is awesome and has successfully completed the DuckDuckHack Goodie tutorial!"; +}; + +1; diff --git a/t/IsAwesome/gokul1794.t b/t/IsAwesome/gokul1794.t new file mode 100644 index 000000000..2f8fd72bf --- /dev/null +++ b/t/IsAwesome/gokul1794.t @@ -0,0 +1,18 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use Test::More; +use DDG::Test::Goodie; + +zci answer_type => "is_awesome_gjskha"; +zci is_cached => 1; + +ddg_goodie_test( + [qw( + DDG::Goodie::IsAwesome::gjskha + )], + 'duckduckhack gokul1794' => test_zci('gokul1794 is awesome and has successfully completed the DuckDuckHack Goodie tutorial!'), + 'duckduckhack gokul1794 is awesome' => undef, +); +done_testing; \ No newline at end of file