2014-08-19 05:55:10 -07:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
use Test::More;
|
|
|
|
use DDG::Test::Goodie;
|
|
|
|
|
2014-10-07 02:12:00 -07:00
|
|
|
zci answer_type => 'valar_morghulis';
|
2014-09-27 06:42:57 -07:00
|
|
|
zci is_cached => 1;
|
2014-08-19 05:55:10 -07:00
|
|
|
|
|
|
|
ddg_goodie_test(
|
2014-10-07 02:12:00 -07:00
|
|
|
['DDG::Goodie::ValarMorghulis'],
|
|
|
|
'valar morghulis' => test_zci(
|
|
|
|
'Valar dohaeris',
|
|
|
|
structured_answer => {
|
|
|
|
input => ['Valar morghulis'],
|
2015-01-09 00:46:54 -08:00
|
|
|
operation => 'Code phrase',
|
2014-10-07 02:12:00 -07:00
|
|
|
result => 'Valar dohaeris'
|
|
|
|
}
|
|
|
|
),
|
2014-08-19 05:55:10 -07:00
|
|
|
'what is valar morghulis' => undef,
|
2014-10-28 11:36:15 -07:00
|
|
|
'valar morghulis meaning' => undef,
|
2014-08-19 05:55:10 -07:00
|
|
|
);
|
|
|
|
|
|
|
|
done_testing;
|