From a5b1ffcadfa25582fa8364b73524bfff3e2a274b Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Tue, 26 Mar 2019 16:06:58 +0100 Subject: New upstream version 1.0.0+git20190326.5bd4aa9 --- actions/recipe_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'actions/recipe_test.go') diff --git a/actions/recipe_test.go b/actions/recipe_test.go index 972bf61..de9d6ea 100644 --- a/actions/recipe_test.go +++ b/actions/recipe_test.go @@ -231,16 +231,11 @@ actions: var recipeIncluded = subRecipe { "included.yaml", ` -{{- $included_recipe := or .included_recipe "false"}} architecture: amd64 actions: - action: run command: ok.sh - {{- if ne $included_recipe "true" }} - - action: recipe - recipe: armhf.yaml - {{- end }} `, } @@ -314,7 +309,7 @@ actions: } func runTestWithSubRecipes(t *testing.T, test testSubRecipe, templateVars ...map[string]string) actions.Recipe { - var context debos.DebosContext + context := debos.DebosContext { &debos.CommonContext{}, "", "" } dir, err := ioutil.TempDir("", "go-debos") assert.Empty(t, err) defer os.RemoveAll(dir) -- cgit v1.2.3