mirror of
https://github.com/go-task/task.git
synced 2025-06-17 00:17:51 +02:00
Enforce NO_COLOR=1 on tests to make sure it passes
Closes #459 Fixes #480 Ref #343 Ref fatih/color#137
This commit is contained in:
@ -17,6 +17,10 @@ import (
|
||||
"github.com/go-task/task/v3/taskfile"
|
||||
)
|
||||
|
||||
func init() {
|
||||
_ = os.Setenv("NO_COLOR", "1")
|
||||
}
|
||||
|
||||
// fileContentTest provides a basic reusable test-case for running a Taskfile
|
||||
// and inspect generated files.
|
||||
type fileContentTest struct {
|
||||
|
Reference in New Issue
Block a user