mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
common/compiler: fix for go vet issues
Signed-off-by: RJ Catalano <rj@monax.io>
This commit is contained in:
parent
9a6990c15e
commit
163e8d868e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue