Added test file
parent
3a9f2dd8a3
commit
0bc9c00745
|
@ -4,7 +4,7 @@ use strict;
|
|||
use warnings;
|
||||
use Test::More;
|
||||
use DDG::Test::Goodie;
|
||||
use Date:hijri;
|
||||
use Date::Hijri;
|
||||
|
||||
zci answer_type => 'date';
|
||||
zci is_cached => 0;
|
||||
|
@ -13,7 +13,9 @@ ddg_goodie_test(
|
|||
[qw(
|
||||
DDG::Goodie::Hijri
|
||||
)],
|
||||
'flip a coin' => test_zci(qr/(heads|tails) \(random\)/),
|
||||
'22/8/2003 to hijri date' => test_zci('23/6/1424'),
|
||||
'23/6/1424 to gregorian years' => test_zci('22/8/2003'),
|
||||
'22,8,2003 to hijri' => test_zci('23/6/1424'),
|
||||
);
|
||||
|
||||
done_testing;
|
||||
|
|
Loading…
Reference in New Issue