Fix go vet warning

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Stéphane Graber 2018-02-20 02:16:22 -05:00
parent 12e47a72a6
commit b1a1ff8157
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View File

@ -1,7 +1,6 @@
package shared
import (
"fmt"
"log"
"os"
"path/filepath"
@ -11,7 +10,7 @@ import (
func TestVerifyFile(t *testing.T) {
wd, err := os.Getwd()
if err != nil {
fmt.Errorf("Failed to retrieve working directory: %s", err)
t.Fatalf("Failed to retrieve working directory: %v", err)
}
testdataDir := filepath.Join(wd, "..", "testdata")