Skip to content

Commit 7614851

Browse files
committed
skip sol on new compiler
1 parent f371e6c commit 7614851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/compiler/solidity_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func TestCompiler(t *testing.T) {
3131
if err != nil {
3232
t.Skip("solc not found: skip")
3333
} else if sol.Version() != solcVersion {
34-
t.Logf("WARNING: a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
34+
t.Skip("WARNING: skipping due to a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
3535
}
3636
contracts, err := sol.Compile(source)
3737
if err != nil {
@@ -54,7 +54,7 @@ func TestCompileError(t *testing.T) {
5454
if err != nil || sol.version != solcVersion {
5555
t.Skip("solc not found: skip")
5656
} else if sol.Version() != solcVersion {
57-
t.Logf("WARNING: a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
57+
t.Skip("WARNING: skipping due to a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
5858
}
5959
contracts, err := sol.Compile(source[2:])
6060
if err == nil {

0 commit comments

Comments
 (0)