diff --git a/lib/DDG/Goodie/IsAwesome/valcrist73.pm b/lib/DDG/Goodie/IsAwesome/valcrist73.pm new file mode 100644 index 000000000..cb6ce0730 --- /dev/null +++ b/lib/DDG/Goodie/IsAwesome/valcrist73.pm @@ -0,0 +1,25 @@ +package DDG::Goodie::IsAwesome::valcrist73; +# ABSTRACT: valcrist73's first goodie + +use DDG::Goodie; + +zci answer_type => "is_awesome_valcrist73"; +zci is_cached => 1; + +name "IsAwesome valcrist73"; +description "My first Goodie, it lets the world know that valcrist73 is awesome"; +primary_example_queries "duckduckhack GitHubUsername"; +category "special"; +topics "special_interest", "geek"; +code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome/valcrist73.pm"; +attribution github => ["valcrist73", "Jonathan"], + => ["valcrist73@gmail.com", "valcrist73 at gmail.com"]; + +triggers start => "duckduckhack valcrist73"; + +handle remainder => sub { + return if $_; + return "Valcrist73 is awesome and has successfully completed the DuckDuckHack Goodie tutorial! - Valcrist73 es genial y ha completado exitosamente el tutorial DuckDuckHack Goodie!"; +}; + +1; \ No newline at end of file diff --git a/t/IsAwesome/valcrist73.t b/t/IsAwesome/valcrist73.t new file mode 100644 index 000000000..9c50be8d6 --- /dev/null +++ b/t/IsAwesome/valcrist73.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_valcrist73"; +zci is_cached => 1; + +ddg_goodie_test( + [qw( + DDG::Goodie::IsAwesome::valcrist73 + )], + 'duckduckhack valcrist73' => test_zci('Valcrist73 is awesome and has successfully completed the DuckDuckHack Goodie tutorial! - Valcrist73 es genial y ha completado exitosamente el tutorial DuckDuckHack Goodie!'), + 'duckduckhack valcrist73 is awesome' => undef, +); + +done_testing;