mirror of
https://github.com/go-task/task.git
synced 2025-11-27 22:38:20 +02:00
Improve test #887
This commit is contained in:
@@ -902,7 +902,9 @@ func TestIncludesIncorrect(t *testing.T) {
|
|||||||
Silent: true,
|
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) {
|
func TestIncludesEmptyMain(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user