zeroclickinfo-goodies/t/CssColors.t

43 lines
801 B
Perl
Raw Normal View History

2016-07-16 14:36:26 -07:00
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use Test::Deep;
use DDG::Test::Goodie;
zci answer_type => 'csscolors';
2016-07-16 14:36:26 -07:00
zci is_cached => 1;
sub build_structured_answer {
return 'CSS Colors',
structured_answer => {
data => {
title => 'CSS Colors',
list => '',
},
templates => {
group => 'list',
options => {
list_content => 'DDH.csscolors.list_content'
2016-07-16 14:36:26 -07:00
}
}
};
}
# Use this to build expected results for your tests.
sub build_test { test_zci(build_structured_answer(@_)) }
ddg_goodie_test(
[qw( DDG::Goodie::CssColors )],
'css colors' => build_test(),
'color picker' => undef,
);
done_testing;