Skip to content

Commit

Permalink
Merge pull request #385 from hashicorp/fixup-render-test
Browse files Browse the repository at this point in the history
test: fixup broken test.
  • Loading branch information
jrasell authored Dec 1, 2020
2 parents 8dd76c0 + 0708d7f commit 19af3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/render_test.go
Original file line number Diff line number Diff line change
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 19af3df

Please sign in to comment.