fix tests

This commit is contained in:
Megan Marsh 2020-05-06 15:01:40 -07:00
parent fda55fe928
commit dae60799bc
1 changed files with 1 additions and 6 deletions

View File

@ -1,17 +1,12 @@
package googlecompute
import (
"bytes"
"context"
"fmt"
"io"
"io/ioutil"
"os"
"os/exec"
"runtime"
"strings"
"testing"
"time"
"github.com/hashicorp/packer/helper/communicator"
)
@ -73,7 +68,7 @@ gcloud compute start-iap-tunnel fakeinstance-12345 1234 --local-host-port=localh
`
if runtime.GOOS == "windows" {
expected = `
call gcloud auth activate-service-account --key-file /path/to/account_file.json
call gcloud auth activate-service-account --key-file "/path/to/account_file.json"
call gcloud config set project fake-project-123
call gcloud compute start-iap-tunnel fakeinstance-12345 1234 --local-host-port=localhost:8774 --zone us-central-b
`