Commit Graph

2592 Commits (03c6d1a120fc99b35423c38d5b237e549ac252bf)

Author SHA1 Message Date
Rob Emery 1454e826ac Conversions: Adding failing test for losing the s from m/s 2016-03-13 13:08:31 +00:00
Rob Emery 5b26e3a27c Conversions: Adding singular output test for speed 2016-03-13 13:06:03 +00:00
Rob Emery 90d43831c2 Conversions: Adding singular test for input 2016-03-13 13:04:18 +00:00
Rob Emery abb5640181 Conversions: now supports speed! Only mph,kph,m/s,ft/s,knots atm 2016-03-12 14:26:32 +00:00
Zach Thompson d664839c44 Merge pull request #2723 from duckduckgo/gd/cheatsheets-fix-section-tests
CheatSheets: Fix section tests
2016-03-10 12:23:16 -07:00
Ben Moon 526c363e16 Update test output to show all critical failures
Rather than just one at the end.
2016-03-10 17:49:36 +00:00
Ben Moon 9a343e1e39 Fix assigned categories not being set correctly
Whoops!
2016-03-10 16:45:03 +00:00
Ben Moon 47834bd7d9 Ensure default triggers are always critical 2016-03-10 16:19:34 +00:00
Ben Moon 5f9fa76873 Merge section contents tests 2016-03-10 15:53:41 +00:00
Ben Moon 54d0b7faad Fix remaining section tests
They weren't accounting properly for invalid section values - this fixes
that.
2016-03-10 15:34:14 +00:00
Ben Moon b752d0d893 Remove redundant %order hash
Use %sections with delete to get a hash with the appropriate items.
2016-03-10 15:33:27 +00:00
Zaahir Moolla be7dbb3f63 Merge pull request #2333 from duckduckgo/gd/update-xs-libs
Update use of 'JSON' to 'JSON::MaybeXS'
2016-03-10 10:11:29 -05:00
Rob Emery fb2156a3c3 Conversions: Updating tests for 坪 with new structure 2016-03-09 21:36:45 +00:00
Rob Emery db7df67f0a Merge branch 'master' into mintsoft/conversions/template 2016-03-09 21:28:34 +00:00
Ben Moon e81f8f5bdb Move condition assignments into if 2016-03-09 15:29:06 +00:00
Ben Moon 6a45c21e94 Update section tests to report in bulk
I.e, they report all bad sections rather than failing on first one.
2016-03-09 15:17:24 +00:00
Ben Moon e090a9949d Make section tests case-sensitive 2016-03-09 14:56:50 +00:00
Ben Moon 570fcc8146 Make section tests critical 2016-03-09 14:49:29 +00:00
Ben Moon 064f17488c Fix section tests
Anything that didn't contain alpha chars (and thus have something to
lowercase) was being removed entirely from the sections (causing a
warning), this fixes that.
2016-03-09 14:27:15 +00:00
Rob Emery 954e627e73 Conversions: the ping unit no longer has s appended for values <> 1 2016-03-08 19:47:52 +00:00
Rob Emery 23e1008db0 Conversions: Adding failing test for plural ping(坪) 2016-03-08 19:46:30 +00:00
Rob Emery ea29a70e79 Merge remote-tracking branch 'heycam/conversions-ping' into mintsoft/conversions/ping 2016-03-08 19:45:22 +00:00
Ben Moon 3fba984c4b Merge pull request #2652 from marianosimone/support_dices_in_dice_trigger
support "dices" spelling for dice trigger
2016-03-08 16:59:49 +00:00
Ben Moon 509f94af2c Update CheatSheetsJSON to use JSON::MaybeXS 2016-03-08 16:35:34 +00:00
Rob Emery fea8dab8dc Merge pull request #2708 from duckduckgo/gd/gibberish-generator-french-fix
GibberishGenerator: Fix failing tests
2016-03-07 21:07:46 +00:00
Zach Thompson 7380c1c8c6 Merge pull request #2692 from duckduckgo/gd/cheatsheet-tests-aliases
CheatSheets: Add alias trigger tests
2016-03-07 11:51:00 -07:00
Ben Moon c59aece0e1 Combine tests that rely on ID being present 2016-03-07 17:26:03 +00:00
Ben Moon 5583f00e29 Merge pull request #2112 from tyleryasaka/UltimateAnswer
UltimateAnswer: Expand query space
2016-03-07 12:52:18 +00:00
Ben Moon 58859e4adf Update word regexes
Should hopefully include *all* characters now.
2016-03-07 12:37:44 +00:00
Ben Moon cfd48e73ff Add 'large' tests
To hopefully be more likely to catch weird lingo situations.
2016-03-07 12:28:08 +00:00
Ben Moon d8ff7c9ec4 Only warn if category not assigned to cheat sheet
For the alias-trigger tests.
2016-03-04 20:56:54 +00:00
Ben Moon 7b9c57d4b6 Remove 'any' trigger test 2016-03-04 19:52:57 +00:00
Rob Emery 3320873e6e Merge pull request #2699 from riqpe/timeszoneconverter
Fixes #2697: 12:00 now parsed as Noon if am not specified
2016-03-04 19:31:43 +00:00
Ben Moon a487995575 Whitelist 'duckduckgo-syntax' for category tests
I think this is the best option as it is the only case.
2016-03-04 19:06:00 +00:00
rsilvola f0f10e2428 Fixes #2697: 12:00 now parsed as Noon if am not specified 2016-03-04 14:07:39 +00:00
Ben Moon 8f8d49b5b2 Add test for aliases against custom triggers
Make sure aliases don't contain custom triggers defined in
'triggers.yaml'.
2016-03-03 20:41:44 +00:00
Ben Moon 2665cc33f0 Add test for triggers in aliases
Ensures aliases do not contain any of the triggers defined in
categories.
2016-03-03 20:26:51 +00:00
Zaahir Moolla 42a2f2e21c Merge pull request #1967 from GuiltyDolphin/gibberishgenerator
New GibberishGenerator Goodie
2016-03-03 12:13:51 -05:00
Zaahir Moolla f50b5ab74e Remove IsAwesome Tests 2016-03-03 10:33:08 -05:00
Zaahir Moolla 20387264e8 Merge pull request #1984 from GuiltyDolphin/improve-lorem
Improve LoremIpsum Goodie
2016-03-02 20:20:46 -05:00
Ben Moon 3d192eead4 Update ID file name test
Only use conversion from ID to file name.
2016-03-02 20:06:49 +00:00
Ben Moon 30b501eb0f Update trigger check to use more concise method 2016-03-02 19:37:33 +00:00
Ben Moon cd80f72d73 Update trigger map 2016-03-02 19:27:27 +00:00
Ben Moon a9d402b28f Make use of global %triggers hash 2016-03-02 19:22:38 +00:00
Ben Moon 77a908d514 Add test for valid template type 2016-03-02 18:48:39 +00:00
Ben Moon b6e806f36c Add 're-adding category' test 2016-03-02 18:32:07 +00:00
Ben Moon 0c6a320ce9 Add test for duplicate triggers 2016-03-02 18:20:44 +00:00
Ben Moon 3b4c36fdd9 Improve file name ID check 2016-03-02 18:08:37 +00:00
marianosimone c7e6041f0f support - and whitespace in number spelling 2016-03-01 19:56:27 +00:00
marianosimone b8c57b832f use Numericalize for dice trigger 2016-03-01 19:12:48 +00:00