summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Fotheringham <pete.fotheringham@codethink.co.uk>2013-11-11 18:22:56 +0000
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>2013-11-11 18:32:57 +0000
commitc6c8f2c96eb90f1af6ff9115ce0136eb82389b5b (patch)
tree542da702026dc0b48c92131544364e90eeccd12f
parentc4cbaf65ea8dff900b98b1a7a7f3d71cb0b19c41 (diff)
downloadcmdtest-c6c8f2c96eb90f1af6ff9115ce0136eb82389b5b.tar.gz
Fix bug where yarn reports all yarns as having no THENS
-rwxr-xr-xyarn2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn b/yarn
index f8ca0cd..c3cba28 100755
--- a/yarn
+++ b/yarn
@@ -198,7 +198,7 @@ class YarnRunner(cliapp.Application):
if no_thens:
raise cliapp.AppException(
'Some scenarios have no THENs:\n%s' %
- ''.join(' "%s"\n' % s.name for s in scenarios))
+ ''.join(' "%s"\n' % s.name for s in no_thens))
def connect_implementations(self, scenarios, implementations):
for scenario in scenarios: