Skip to content

Commit a4ec6e5

Browse files
committed
Improve test #887
1 parent 44aa2ee commit a4ec6e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

task_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,9 @@ func TestIncludesIncorrect(t *testing.T) {
902902
Silent: true,
903903
}
904904

905-
assert.Error(t, e.Setup())
905+
err := e.Setup()
906+
assert.Error(t, err)
907+
assert.Contains(t, err.Error(), "task: Failed to parse testdata/includes_incorrect/incomplete.yml:")
906908
}
907909

908910
func TestIncludesEmptyMain(t *testing.T) {

0 commit comments

Comments
 (0)