mirror of
https://github.com/go-task/task.git
synced 2026-07-03 01:18:48 +00:00
committed by
Andrey Nering
parent
12a1cd6f62
commit
ec2110e58f
@@ -190,11 +190,13 @@ func TestSpecialVars(t *testing.T) {
|
||||
assert.Contains(t, output, "root/TASK=print")
|
||||
assert.Contains(t, output, "root/ROOT_DIR="+toAbs("testdata/special_vars"))
|
||||
assert.Contains(t, output, "root/TASKFILE_DIR="+toAbs("testdata/special_vars"))
|
||||
assert.Contains(t, output, "root/TASK_VERSION=unknown")
|
||||
|
||||
// Included Taskfile
|
||||
assert.Contains(t, output, "included/TASK=included:print")
|
||||
assert.Contains(t, output, "included/ROOT_DIR="+toAbs("testdata/special_vars"))
|
||||
assert.Contains(t, output, "included/TASKFILE_DIR="+toAbs("testdata/special_vars/included"))
|
||||
assert.Contains(t, output, "included/TASK_VERSION=unknown")
|
||||
}
|
||||
|
||||
func TestVarsInvalidTmpl(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user