1
0
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:
Andrey Nering 2022-10-14 19:50:43 -03:00
parent 44aa2ee3b3
commit a4ec6e5257

View File

@ -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) {