common/compiler: fix for go vet issues

Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
RJ Catalano 2017-08-20 15:25:22 -05:00
parent 9a6990c15e
commit 163e8d868e
No known key found for this signature in database
GPG key ID: D4AB109D9B5D6386

View file

@ -191,7 +191,7 @@ func TestSolcCompilerError(t *testing.T) {
if err == nil { if err == nil {
t.Fatal("Expected an error, got nil.") t.Fatal("Expected an error, got nil.")
} else if !strings.Contains(err.Error(), "solc") { } else if !strings.Contains(err.Error(), "solc") {
t.Fatal("Expected error to come directly from compiler, got err from elsewhere: %v", err) t.Fatalf("Expected error to come directly from compiler, got err from elsewhere: %v", err)
} }
} }