fixed more bugs

master
SteLim 2013-05-25 23:45:10 +02:00
parent cb9839a2f6
commit a3ade793e1
2 changed files with 4 additions and 4 deletions

View File

@ -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';

View File

@ -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+/),
);