communicator/winrm: fix failing test

This commit is contained in:
Mitchell Hashimoto 2015-06-13 22:10:50 -07:00
parent 4be10b428a
commit 6077c796f5
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func TestUpload(t *testing.T) {
t.Fatalf("error creating communicator: %s", err)
}
err = c.Upload("C:/Temp/terraform.cmd", bytes.NewReader([]byte("something")))
err = c.Upload("C:/Temp/terraform.cmd", bytes.NewReader([]byte("something")), nil)
if err != nil {
t.Fatalf("error uploading file: %s", err)
}