Commit abd59779 authored by Armon Dadgar's avatar Armon Dadgar
Browse files

Update config test to handle provisioners

parent 2423d135
No related merge requests found
Showing with 11 additions and 0 deletions
+11 -0
......@@ -33,6 +33,10 @@ func TestConfig_Merge(t *testing.T) {
"foo": "bar",
"bar": "blah",
},
Provisioners: map[string]string{
"local": "local",
"remote": "bad",
},
}
c2 := &Config{
......@@ -40,6 +44,9 @@ func TestConfig_Merge(t *testing.T) {
"bar": "baz",
"baz": "what",
},
Provisioners: map[string]string{
"remote": "remote",
},
}
expected := &Config{
......@@ -48,6 +55,10 @@ func TestConfig_Merge(t *testing.T) {
"bar": "baz",
"baz": "what",
},
Provisioners: map[string]string{
"local": "local",
"remote": "remote",
},
}
actual := c1.Merge(c2)
......
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