MCPcopy Create free account
hub / github.com/go-task/task / TestTaskDotenvFail

Function TestTaskDotenvFail

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

Source from the content-addressed store, hash-verified

2105}
2106
2107func TestTaskDotenvFail(t *testing.T) {
2108 t.Parallel()
2109
2110 tt := fileContentTest{
2111 Dir: "testdata/dotenv_task/default",
2112 Target: "no-dotenv",
2113 TrimSpace: true,
2114 Files: map[string]string{
2115 "no-dotenv.txt": "global",
2116 },
2117 }
2118 t.Run("", func(t *testing.T) {
2119 t.Parallel()
2120 tt.Run(t)
2121 })
2122}
2123
2124func TestTaskDotenvOverriddenByEnv(t *testing.T) {
2125 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…