Commit 70fe3279 authored by Michael Schurter's avatar Michael Schurter Committed by GitHub
Browse files

Merge pull request #2498 from neumayer/fixtypo

Fix typo and be consistent in naming
parents d3a238f5 46dcbc5c
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -53,11 +53,11 @@ func testTaskEnvironment() *TaskEnvironment {
n.Name = nodeName
n.NodeClass = nodeClass
envVars := map[string]string{
envvars := map[string]string{
envOneKey: envOneVal,
envTwoKey: envTwoVal,
}
return NewTaskEnvironment(n).SetEnvvars(envVars).Build()
return NewTaskEnvironment(n).SetEnvvars(envvars).Build()
}
func TestEnvironment_ParseAndReplace_Env(t *testing.T) {
......@@ -266,7 +266,7 @@ func TestEnvironment_ClearEnvvars(t *testing.T) {
}
}
func TestEnvironment_Interprolate(t *testing.T) {
func TestEnvironment_Interpolate(t *testing.T) {
env := testTaskEnvironment().
SetEnvvars(map[string]string{"test": "${node.class}", "test2": "${attr.arch}"}).
Build()
......@@ -280,7 +280,7 @@ func TestEnvironment_Interprolate(t *testing.T) {
}
}
func TestEnvironment_AppendHostEnvVars(t *testing.T) {
func TestEnvironment_AppendHostEnvvars(t *testing.T) {
host := os.Environ()
if len(host) < 2 {
t.Skip("No host environment variables. Can't test")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment