mirror of https://github.com/nmasse-itix/liche.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
348 B
11 lines
348 B
Feature: Error
|
|
Scenario: Fail with no argument
|
|
Given a file named "foo.md" with ""
|
|
When I run `liche`
|
|
Then the exit status should be 1
|
|
|
|
Scenario: Fail with a non-existent file
|
|
Given a file named "foo.md" with ""
|
|
When I run `liche bar.md`
|
|
Then the exit status should be 1
|
|
And the stderr should contain "no such file"
|
|
|