Skip to content

Commit

Permalink
test: fixup broken test.
Browse files Browse the repository at this point in the history
I have no idea how this was not caught by CI.
  • Loading branch information
jrasell committed Dec 1, 2020
1 parent 62abd60 commit 0708d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/render_test.go
Expand Up @@ -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)
Expand Down

0 comments on commit 0708d7f

Please sign in to comment.