From 0708d7fa0a850622c2e78c1197ecb1b82627589f Mon Sep 17 00:00:00 2001 From: James Rasell Date: Tue, 1 Dec 2020 14:00:13 +0100 Subject: [PATCH] test: fixup broken test. I have no idea how this was not caught by CI. --- template/render_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/render_test.go b/template/render_test.go index 9a78985ba..09bfd6853 100644 --- a/template/render_test.go +++ b/template/render_test.go @@ -86,7 +86,7 @@ func TestTemplater_RenderTemplate(t *testing.T) { } // Test var-args only render. - fVars = map[string]string{"job_name": testJobName, "task_resource_cpu": "1313"} + fVars = map[string]interface{}{"job_name": testJobName, "task_resource_cpu": "1313"} job, err = RenderJob("test-fixtures/single_templated.nomad", []string{}, "", &fVars) if err != nil { t.Fatal(err)