mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
12
task_test.go
12
task_test.go
@@ -484,3 +484,15 @@ func TestIncludes(t *testing.T) {
|
||||
}
|
||||
tt.Run(t)
|
||||
}
|
||||
|
||||
func TestIncludesEmptyMain(t *testing.T) {
|
||||
tt := fileContentTest{
|
||||
Dir: "testdata/includes_empty",
|
||||
Target: "included:default",
|
||||
TrimSpace: true,
|
||||
Files: map[string]string{
|
||||
"file.txt": "default",
|
||||
},
|
||||
}
|
||||
tt.Run(t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user