(t *testing.T)
| 1031 | } |
| 1032 | |
| 1033 | func TestIncludes(t *testing.T) { |
| 1034 | t.Parallel() |
| 1035 | |
| 1036 | tt := fileContentTest{ |
| 1037 | Dir: "testdata/includes", |
| 1038 | Target: "default", |
| 1039 | TrimSpace: true, |
| 1040 | Files: map[string]string{ |
| 1041 | "main.txt": "main", |
| 1042 | "included_directory.txt": "included_directory", |
| 1043 | "included_directory_without_dir.txt": "included_directory_without_dir", |
| 1044 | "included_taskfile_without_dir.txt": "included_taskfile_without_dir", |
| 1045 | "./module2/included_directory_with_dir.txt": "included_directory_with_dir", |
| 1046 | "./module2/included_taskfile_with_dir.txt": "included_taskfile_with_dir", |
| 1047 | "os_include.txt": "os", |
| 1048 | }, |
| 1049 | } |
| 1050 | t.Run("", func(t *testing.T) { |
| 1051 | t.Parallel() |
| 1052 | tt.Run(t) |
| 1053 | }) |
| 1054 | } |
| 1055 | |
| 1056 | func TestIncludesMultiLevel(t *testing.T) { |
| 1057 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…