mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
fix: orderedmap race condition (#1972)
This commit is contained in:
@@ -183,7 +183,7 @@ func TestRequires(t *testing.T) {
|
||||
buff.Reset()
|
||||
require.NoError(t, e.Setup())
|
||||
|
||||
vars := &ast.Vars{}
|
||||
vars := ast.NewVars()
|
||||
vars.Set("foo", ast.Var{Value: "bar"})
|
||||
require.NoError(t, e.Run(context.Background(), &ast.Call{
|
||||
Task: "missing-var",
|
||||
|
||||
Reference in New Issue
Block a user