Created a goodie...
parent
2e7fe92ccb
commit
7e339f905b
|
@ -0,0 +1,27 @@
|
|||
package DDG::Goodie::IsAwesome::javathunderman;
|
||||
ABSTRACT: javathunderman
|
||||
|
||||
use DDG::Goodie;
|
||||
|
||||
zci answer_type => "is_awesome:javathunderman";
|
||||
zci is_cached => 1;
|
||||
|
||||
name "IsAwesome:javathunderman";
|
||||
description "You thought that this would be a good description, but really, it's subpar.";
|
||||
primary_example_queries "duckduckhack javathunderman";
|
||||
category "special";
|
||||
topics "special_interest", "geek";
|
||||
code_url "https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/IsAwesome:javathunderman.pm";
|
||||
attribution github => ["javathunderman", "Thomas Denizou"],
|
||||
twitter => "Emposoft";
|
||||
|
||||
|
||||
triggers start => "duckduckhack javathunderman";
|
||||
|
||||
|
||||
handle remainder => sub {
|
||||
return if $_;
|
||||
return "javathunderman is awesome and has created a goodie!";
|
||||
};
|
||||
|
||||
1;
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
use DDG::Test::Goodie;
|
||||
|
||||
zci answer_type => "is_awesome:javathunderman";
|
||||
zci is_cached => 1;
|
||||
|
||||
ddg_goodie_test(
|
||||
[qw(
|
||||
DDG::Goodie::IsAwesome::javathunderman
|
||||
)],
|
||||
'duckduckhack javathunderman' => test_zci('javathunderman is awesome and has created a goodie!'),
|
||||
'duckduckhack javathunderman is awesome' => undef,
|
||||
);
|
||||
|
||||
done_testing;
|
Loading…
Reference in New Issue