features/stdin.feature in kevinrutherford-reek-1.1.3.9 vs features/stdin.feature in kevinrutherford-reek-1.1.3.10
- old
+ new
@@ -11,15 +11,24 @@
"""
$stdin -- 0 warnings
"""
- Scenario: outputs nothing on empty stdin
+ Scenario: outputs header only on empty stdin
When I pass "" to reek
Then it succeeds
And it reports:
"""
$stdin -- 0 warnings
+
+ """
+
+ Scenario: outputs nothing on empty stdin in quiet mode
+ When I pass "" to reek --quiet
+ Then it succeeds
+ And it reports:
+ """
+
"""
Scenario: return non-zero status when there are smells
When I pass "class Turn; def y() @x = 3; end end" to reek