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

Function TestTaskDotenv

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

Source from the content-addressed store, hash-verified

2088}
2089
2090func TestTaskDotenv(t *testing.T) {
2091 t.Parallel()
2092
2093 tt := fileContentTest{
2094 Dir: "testdata/dotenv_task/default",
2095 Target: "dotenv",
2096 TrimSpace: true,
2097 Files: map[string]string{
2098 "dotenv.txt": "foo",
2099 },
2100 }
2101 t.Run("", func(t *testing.T) {
2102 t.Parallel()
2103 tt.Run(t)
2104 })
2105}
2106
2107func TestTaskDotenvFail(t *testing.T) {
2108 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…