MCPcopy
hub / github.com/go-task/task / TestIncludesFromCustomTaskfile

Function TestIncludesFromCustomTaskfile

task_test.go:1457–1475  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1455}
1456
1457func TestIncludesFromCustomTaskfile(t *testing.T) {
1458 t.Parallel()
1459
1460 tt := fileContentTest{
1461 Entrypoint: "testdata/includes_yaml/Custom.ext",
1462 Dir: "testdata/includes_yaml",
1463 Target: "default",
1464 TrimSpace: true,
1465 Files: map[string]string{
1466 "main.txt": "main",
1467 "included_with_yaml_extension.txt": "included_with_yaml_extension",
1468 "included_with_custom_file.txt": "included_with_custom_file",
1469 },
1470 }
1471 t.Run("", func(t *testing.T) {
1472 t.Parallel()
1473 tt.Run(t)
1474 })
1475}
1476
1477func TestIncludesRelativePath(t *testing.T) {
1478 t.Parallel()

Callers

nothing calls this directly

Calls 1

RunMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…