Merge branch 'master' of https://github.com/Hercynium/zeroclickinfo-goodies
Conflicts: dist.inimaster
commit
6b0d754c61
|
@ -0,0 +1,26 @@
|
||||||
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
use DDG::Test::Goodie;
|
||||||
|
|
||||||
|
zci is_cached => 0;
|
||||||
|
zci answer_type => 'rafl';
|
||||||
|
|
||||||
|
ddg_goodie_test(
|
||||||
|
[qw(
|
||||||
|
DDG::Goodie::Rafl
|
||||||
|
)],
|
||||||
|
'rafl' => test_zci(
|
||||||
|
qr/rafl.*everywhere/i,
|
||||||
|
),
|
||||||
|
'!rafl' => test_zci(
|
||||||
|
qr/rafl.*everywhere/i,
|
||||||
|
),
|
||||||
|
'rafl everywhere' => test_zci(
|
||||||
|
qr/rafl.*everywhere/i,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
done_testing;
|
Loading…
Reference in New Issue