features/bin.feature in revenc-0.1.2 vs features/bin.feature in revenc-0.1.3
- old
+ new
@@ -7,16 +7,16 @@
In order to configure options
Scenario: Version info
When I run "revenc --version"
Then the exit status should be 0
- And I should see matching "revenc, version ([\d]+\.[\d]+\.[\d]+$)"
+ And the output should match /revenc, version ([\d]+\.[\d]+\.[\d]+$)/
Scenario: Help
When I run "revenc --help"
Then the exit status should be 0
- And I should see matching:
+ And the output should match:
"""
.*
Usage: .*
.*
Options:
@@ -25,10 +25,10 @@
"""
Scenario: Invalid option
When I run "revenc --non-existing-option"
Then the exit status should be 1
- And I should see matching:
+ And the output should match:
"""
^.* invalid option: --non-existing-option
^.* --help for more information
"""