(t *testing.T)
| 1750 | } |
| 1751 | |
| 1752 | func 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 | |
| 1778 | func TestSummary(t *testing.T) { |
| 1779 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…