ASCII Table: Add additional trigger words (#4111)

* Fixes #4107 Added triggers

* updating test

* moving triggers to a separate file
master
Aditya Tandon 2017-04-22 03:45:49 +05:30 committed by Zaahir Moolla
parent 2e6590e29f
commit 1047f8a9e6
3 changed files with 25 additions and 2 deletions

View File

@ -10,8 +10,7 @@ zci answer_type => 'ascii_table';
zci is_cached => 1;
triggers start => 'ascii table', 'ascii tables', 'ascii reference table',
'ascii reference';
triggers start => share('triggers.txt')->slurp;
my $ascii = LoadFile(share('data.yml'));

View File

@ -0,0 +1,22 @@
ascii table
ascii tables
ascii reference table
ascii reference
ascii codes
ascii code table
ascii codes table
char codes
character codes
char codes table
char codes chart
character codes table
ascii character codes
ascii character codes table
ascii character codes chart
ascii characters
ascii character table
ascii characters table
ascii chart
ascii codes chart
ascii characters chart
ascii reference chart

View File

@ -79,6 +79,8 @@ ddg_goodie_test(
'ascii table' => build_test(),
'ascii reference table' => build_test(),
'ascii reference' => build_test(),
'ascii characters' => build_test(),
'character codes' => build_test(),
'ascii convertor' => undef,
'ascii conversion' => undef,
'convert ascii' => undef,