Added a test to the Epoch plugin.

master
Jag Talon 2013-03-11 16:06:52 -04:00
parent 0070550334
commit fe63c0ca8b
1 changed files with 19 additions and 0 deletions

19
t/Epoch.t Normal file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use DDG::Test::Goodie;
zci answer_type => 'epoch';
zci is_cached => 1;
ddg_goodie_test(
[qw( DDG::Goodie::Epoch )],
'epoch' => test_zci(
qr/Unix time/,
),
);
done_testing;