mirror of
https://github.com/go-task/task.git
synced 2025-02-03 13:22:11 +02:00
Improve test #887
This commit is contained in:
parent
44aa2ee3b3
commit
a4ec6e5257
@ -902,7 +902,9 @@ func TestIncludesIncorrect(t *testing.T) {
|
||||
Silent: true,
|
||||
}
|
||||
|
||||
assert.Error(t, e.Setup())
|
||||
err := e.Setup()
|
||||
assert.Error(t, err)
|
||||
assert.Contains(t, err.Error(), "task: Failed to parse testdata/includes_incorrect/incomplete.yml:")
|
||||
}
|
||||
|
||||
func TestIncludesEmptyMain(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user