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

This commit is contained in:
Ali Rizvi-Santiago 2018-01-06 19:46:52 -06:00
parent 5d97b105a8
commit 4a1fb0d262
2 changed files with 3 additions and 3 deletions

View File

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

View File

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