1
0
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:
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, 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) {