TwelveOclock: add answer_type and is_cached.
parent
2d28a92a45
commit
18b3319726
|
@ -3,6 +3,9 @@ package DDG::Goodie::TwelveOclock;
|
|||
|
||||
use DDG::Goodie;
|
||||
|
||||
zci answer_type => "twelve_oclock";
|
||||
zci is_cached => 1;
|
||||
|
||||
primary_example_queries "is 12:00am noon?", "is 1200pm midnight?";
|
||||
secondary_example_queries "when is noon?", "when is midnight?";
|
||||
description "Succinct explanation of what this instant answer does";
|
||||
|
|
|
@ -5,7 +5,8 @@ use warnings;
|
|||
use Test::More;
|
||||
use DDG::Test::Goodie;
|
||||
|
||||
zci answer_type => "twelveoclock";
|
||||
zci answer_type => "twelve_oclock";
|
||||
zci is_cached => 1;
|
||||
|
||||
ddg_goodie_test([qw(
|
||||
DDG::Goodie::TwelveOclock
|
||||
|
|
Loading…
Reference in New Issue