Fix go vet issues

Test: go vet ./...
Change-Id: Ifb936ccc5e2b5a2c3fcbbbcb54f680e2973ea1b3
This commit is contained in:
Dan Willemsen
2018-07-22 21:18:45 -07:00
parent ee74203bfb
commit 59339a29e1
16 changed files with 42 additions and 35 deletions

View File

@@ -15,7 +15,6 @@
package cc
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
@@ -154,7 +153,7 @@ func TestDataTests(t *testing.T) {
path := filepath.Join(test.data[i].path, test.data[i].file)
if test.data[i].file != got[i].Rel() ||
path != got[i].String() {
fmt.Errorf("expected %s:%s got %s:%s",
t.Errorf("expected %s:%s got %s:%s",
path, test.data[i].file,
got[i].String(), got[i].Rel())
}