From fe63c0ca8b9ea4e6c9358e0d6177ebb4cc5f9c0e Mon Sep 17 00:00:00 2001 From: Jag Talon Date: Mon, 11 Mar 2013 16:06:52 -0400 Subject: [PATCH] Added a test to the Epoch plugin. --- t/Epoch.t | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 t/Epoch.t diff --git a/t/Epoch.t b/t/Epoch.t new file mode 100644 index 000000000..da0187eba --- /dev/null +++ b/t/Epoch.t @@ -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; +