Fixing spacing on line 162 and 164 of provisioner/puppet-masterless/provisioner_test.go

This commit is contained in:
David Danzilio 2015-02-24 22:56:37 -05:00
parent 8404f6ce86
commit 7e3d172581
1 changed files with 3 additions and 3 deletions

View File

@ -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)