On Mon, Jul 13, 2015 at 06:43:21PM +0100, Daniel Silverstone wrote:
On Fri, Jul 10, 2015 at 22:13:28 +0100, Richard Ipsum wrote:
> Apologies for not submitting this sooner, limited internet access over the
> past year has made it more difficult for me to contribute,
> I must also apologise for introducing this bug in the first place.
This looks sane -- have you tried running this lot under the test suite?
I can confirm that it doesn't break the test suite.
If so could you possibly come up with a yarn which verifies that the
messages are useful if you don't supply a command?
Provided the expected stderr is "[gitano] FATAL: No command provided, cannot
then these patches add that, with Richard Ipsum's patch rebased.
Richard Maw (2):
yarnlib: Allow empty "WHEN foo bar runs" commands
yarns: Test behaviour when no commands given
testing/01-basics.yarn | 13 +++++++++++++
testing/library.yarn | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)