Grrr...gofmt -w common/*.go

pull/2906/head
Ali Rizvi-Santiago 8 years ago
parent 5d97b105a8
commit 4a1fb0d262

@ -197,8 +197,8 @@ func TestDownloadableURL_FilePaths(t *testing.T) {
}
expected := fmt.Sprintf("%s%s",
filePrefix,
strings.Replace(tfPath, `\`, `/`, -1))
filePrefix,
strings.Replace(tfPath, `\`, `/`, -1))
if u != expected {
t.Fatalf("unexpected: %#v != %#v", u, expected)
}

@ -208,7 +208,7 @@ func (d *DownloadClient) Get() (string, error) {
}
func (d *DownloadClient) PercentProgress() int {
if (d.downloader == nil) {
if d.downloader == nil {
return -1
}

Loading…
Cancel
Save