mirror of
https://github.com/go-task/task.git
synced 2025-12-16 19:57:43 +01:00
feat: better yaml parsing and error handling (#1619)
This commit is contained in:
@@ -1042,7 +1042,7 @@ func TestIncludesIncorrect(t *testing.T) {
|
||||
|
||||
err := e.Setup()
|
||||
require.Error(t, err)
|
||||
assert.Contains(t, err.Error(), "task: Failed to parse testdata/includes_incorrect/incomplete.yml:")
|
||||
assert.Contains(t, err.Error(), "Failed to parse testdata/includes_incorrect/incomplete.yml:", err.Error())
|
||||
}
|
||||
|
||||
func TestIncludesEmptyMain(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user