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

Function TestRunOnlyRunsJobsHashOnce

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

Source from the content-addressed store, hash-verified

2174}
2175
2176func TestRunOnlyRunsJobsHashOnce(t *testing.T) {
2177 t.Parallel()
2178
2179 tt := fileContentTest{
2180 Dir: "testdata/run",
2181 Target: "generate-hash",
2182 Files: map[string]string{
2183 "hash.txt": "starting 1\n1\n2\n",
2184 },
2185 }
2186 t.Run("", func(t *testing.T) {
2187 t.Parallel()
2188 tt.Run(t)
2189 })
2190}
2191
2192func TestRunOnlyRunsJobsHashOnceWithWildcard(t *testing.T) {
2193 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…