fixed more bugs
parent
cb9839a2f6
commit
a3ade793e1
|
@ -4,11 +4,11 @@ use DDG::Goodie;
|
|||
use Data::RandomPerson;
|
||||
|
||||
triggers start => 'random';
|
||||
zci answer_type => "rand";
|
||||
zci answer_type => 'rand';
|
||||
|
||||
|
||||
name 'RandomPerson';
|
||||
description 'returns a random (title) first and last name (and birthday)';
|
||||
description 'returns a random person';
|
||||
category 'random';
|
||||
topics 'programming';
|
||||
primary_example_queries 'random person';
|
||||
|
|
|
@ -12,10 +12,10 @@ ddg_goodie_test(
|
|||
[
|
||||
'DDG::Goodie::RandomPerson'
|
||||
],
|
||||
'random name' => test_zci (qr/\w+ \w+/),
|
||||
'random Name' => test_zci (qr/\w+ \w+/),
|
||||
'random person' => test_zci (qr/\w+\. \w+ \w+, born \d+-\d+-\d+/),
|
||||
'random name' => test_zci (qr/\w+ \w+/),
|
||||
'random Person' => test_zci (qr/\w+\. \w+ \w+, born \d+-\d+-\d+/),
|
||||
'random person' => test_zci (qr/\w+\. \w+ \w+, born \d+-\d+-\d+/),
|
||||
|
||||
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue