TwelveOclock: add answer_type and is_cached.

master
Matt Miller 2014-10-01 04:38:19 +02:00
parent 2d28a92a45
commit 18b3319726
2 changed files with 5 additions and 1 deletions

View File

@ -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";

View File

@ -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