Activate lint staticcheck.

This commit is contained in:
jregan
2019-11-16 07:02:21 -08:00
parent 2326362fd2
commit 0924269e76
3 changed files with 3 additions and 2 deletions

View File

@@ -480,7 +480,7 @@ func TestLoaderDisallowsLocalBaseFromRemoteOverlay(t *testing.T) {
t.Fatalf("unexpected root %s", l2.Root())
}
// This is not okay.
l3, err = l2.New("../../../highBase")
_, err = l2.New("../../../highBase")
if err == nil {
t.Fatalf("expected err")
}