Commit Graph

16 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
Zaahir Moolla 8a970414ef Clenup indentation, verify data obj for at least one test 2016-02-15 17:06:57 -05:00
Mailkov f28f137e92 Issue1163 - Convert BashPrimaryExpressions to use template 2015-12-18 19:53:18 +00:00
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02: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
Jag Talon 13bc1e3d29 Bash: Add an introduction at the beginning. 2014-04-03 10:41:39 -04:00
Jag Talon 741fe67eac Bash: Stricter regexp for arguments.
Don't just use `/.+/` for accepting arguments. We need to prevent nested `[[]]`s and a few invalid forms.
2014-03-30 18:15:32 -04:00
Jag Talon a1e4d2a761 Bash: Encode the heading. 2014-03-27 12:32:58 -04:00
Jag Talon a350bc272c Bash: Update tests. 2014-03-26 22:47:26 -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 bd7f5137eb BashPrimaryExpressions: Adding html output with <code> wrapping inputs and expressions 2013-12-20 20:00:40 +00:00
Rob Emery bd1f0a3dbc BashPrimaryExpressions.pm: Adding support for -nt, -ot, -ef 2013-12-16 23:09:07 +00:00
Rob Emery c685d7d5ff BashPrimaryExpressions: Adding support for comparison operators, (<> -lt etc) and not 2013-12-16 23:02:22 +00:00
Rob Emery 296318cf14 BashPrimaryExpressions.pm: New Goodie for help with bash primary expressions ([ -a hello ]) 2013-12-16 22:07:48 +00:00