Fixing spacing on line 162 and 164 of provisioner/puppet-masterless/provisioner_test.go
This commit is contained in:
parent
8404f6ce86
commit
7e3d172581
|
@ -159,9 +159,9 @@ func TestProvisionerPrepare_facterFacts(t *testing.T) {
|
||||||
}
|
}
|
||||||
defer os.RemoveAll(td)
|
defer os.RemoveAll(td)
|
||||||
|
|
||||||
facts := make(map[string]string)
|
facts := make(map[string]string)
|
||||||
facts["fact_name"] = "fact_value"
|
facts["fact_name"] = "fact_value"
|
||||||
config["facter"] = facts
|
config["facter"] = facts
|
||||||
|
|
||||||
p = new(Provisioner)
|
p = new(Provisioner)
|
||||||
err = p.Prepare(config)
|
err = p.Prepare(config)
|
||||||
|
@ -169,7 +169,7 @@ func TestProvisionerPrepare_facterFacts(t *testing.T) {
|
||||||
t.Fatalf("err: %s", err)
|
t.Fatalf("err: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the default facts are present
|
// Make sure the default facts are present
|
||||||
delete(config, "facter")
|
delete(config, "facter")
|
||||||
p = new(Provisioner)
|
p = new(Provisioner)
|
||||||
err = p.Prepare(config)
|
err = p.Prepare(config)
|
||||||
|
|
Loading…
Reference in New Issue