MCPcopy
hub / github.com/go-task/task / TestDynamicVariablesShouldRunOnTheTaskDir

Function TestDynamicVariablesShouldRunOnTheTaskDir

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

Source from the content-addressed store, hash-verified

1910}
1911
1912func TestDynamicVariablesShouldRunOnTheTaskDir(t *testing.T) {
1913 t.Parallel()
1914
1915 tt := fileContentTest{
1916 Dir: "testdata/dir/dynamic_var",
1917 Target: "default",
1918 TrimSpace: false,
1919 Files: map[string]string{
1920 "subdirectory/from_root_taskfile.txt": "subdirectory\n",
1921 "subdirectory/from_included_taskfile.txt": "subdirectory\n",
1922 "subdirectory/from_included_taskfile_task.txt": "subdirectory\n",
1923 "subdirectory/from_interpolated_dir.txt": "subdirectory\n",
1924 },
1925 }
1926 t.Run("", func(t *testing.T) {
1927 t.Parallel()
1928 tt.Run(t)
1929 })
1930}
1931
1932func TestDisplaysErrorOnVersion1Schema(t *testing.T) {
1933 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…