Added 'capitalize' to TitleCase triggers.
parent
0a5735c57b
commit
a3f71d874c
|
@ -2,7 +2,7 @@ package DDG::Goodie::TitleCase;
|
|||
|
||||
use DDG::Goodie;
|
||||
|
||||
triggers startend => 'titlecase', 'ucfirst', 'title case';
|
||||
triggers startend => 'titlecase', 'ucfirst', 'title case', 'capitalize';
|
||||
|
||||
primary_example_queries 'titlecase test';
|
||||
description 'return the query in title case';
|
||||
|
|
|
@ -16,6 +16,7 @@ ddg_goodie_test(
|
|||
'titlecase this is a walk in the park' => test_zci('This Is a Walk in the Park'),
|
||||
'titlecase a good day to die hard' => test_zci('A Good Day to Die Hard'),
|
||||
'titlecase here i am testing-hyphenated-words' => test_zci('Here I Am Testing-Hyphenated-Words'),
|
||||
'capitalize this should be capitalized' => test_zci('This Should Be Capitalized'),
|
||||
'titlecase test' => test_zci('Test'),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue