Commit Graph

17 Commits (master)

Author SHA1 Message Date
Ben Moon 83b9bbd6b7 Fix newline at end of file 2016-05-16 14:19:39 +01:00
Ben Moon 5f85cf4121 Update Goodies to use Test::Deep
* Ensure Test::Deep is imported.

* Replace '-ANY-' with ignore()

* Replace regexes with re(...)
2016-05-16 14:07:57 +01:00
Zach Thompson 73d8f72fc0 Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Mailkov a4f1054c90 correct RubiksCubePatterns.t 2015-12-23 18:59:50 +00:00
Mailkov 1d70c3f49f Fix #1873 - Shouldn't trigger on when query is only 'Rubics Cube' 2015-12-09 20:07:09 +00:00
Mailkov 5599db5665 fix indentation RubicksCubePatterns.t 2015-12-05 15:21:59 +00:00
Mailkov ec8e6f2f4d fix review 2015-12-05 11:10:08 +00:00
Mailkov 0f622ea610 Issue #1163 - Convert RubiksCubePatterns to use templates 2015-12-04 15:44:43 +00:00
Matt Miller 68fc7c8dec Set explicit caching everywhere.
This explicity sets the caching behavior for all goodies. Goodies which
did not have caching behavior set in their package have had it added.
Similarly for the tests.

This resulted in a number of changes for caching behavior, mostly
moving towards more frequent caching.

I identified three cases where goodies should not be cached. They are when
the result depends upon:

- some random element,
- the time of day or year (as with relative dates), or
- the location of the requesting user

In all other cases, I presumed that the goodies were sufficiently
deterministic in their output to warrant caching.
2014-09-27 10:35:17 -04:00
Eric Johnson 9c29b27338 Added tests for example queries which are not currently tested.
Conflicts:

	t/TimezoneConverter.t
2014-02-10 21:36:14 +00:00
Rob Emery 237a28677d RubiksCubePatterns: adding "rubik's cube patterns" and test 2013-11-22 15:13:40 +00:00
Rob Emery f2ff5f4dc9 RubiksCubePatterns.t: Fixing case in the tests 2013-11-22 14:57:59 +00:00
Rob Emery 5ef21965df Switching p to div to fix issue with instant-answer output 2013-11-01 14:26:17 +00:00
Rob Emery 83fe48a460 Fixing bug & adding tests for issue that @nospampleasemam noticed with the "cube in a cube" triggered by "rubiks cube" 2013-11-01 13:42:12 +00:00
Rob Emery a53a0e97a7 Switching Rubik's cube patterns to cheatsheet and adding more patterns & html output 2013-10-31 22:06:32 +00:00
Dylan Lloyd 49994f300f expanded triggers for RubiksCube & updated tests 2013-02-07 21:49:19 -05:00
Dylan Lloyd 3fdbe37cb1 rm'd old example files,new tests for those missing
also stripped carriage returns and trailing whitespace from share files
2013-02-07 20:26:39 -05:00