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

Function TestSupportedFileNames

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

Source from the content-addressed store, hash-verified

1750}
1751
1752func TestSupportedFileNames(t *testing.T) {
1753 t.Parallel()
1754
1755 fileNames := []string{
1756 "Taskfile.yml",
1757 "Taskfile.yaml",
1758 "Taskfile.dist.yml",
1759 "Taskfile.dist.yaml",
1760 }
1761 for _, fileName := range fileNames {
1762 t.Run(fileName, func(t *testing.T) {
1763 t.Parallel()
1764
1765 tt := fileContentTest{
1766 Dir: fmt.Sprintf("testdata/file_names/%s", fileName),
1767 Target: "default",
1768 TrimSpace: true,
1769 Files: map[string]string{
1770 "output.txt": "hello",
1771 },
1772 }
1773 tt.Run(t)
1774 })
1775 }
1776}
1777
1778func TestSummary(t *testing.T) {
1779 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…