Skip to content

Commit 14994fa

Browse files
committed
rpc: skip test if solc version doesn't match
1 parent bc6031e commit 14994fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestCompileSolidity(t *testing.T) {
3535
if solc == nil {
3636
t.Skip("no solc found: skip")
3737
} else if solc.Version() != solcVersion {
38-
t.Logf("WARNING: solc different version found (%v, test written for %v, may need to update)", solc.Version(), solcVersion)
38+
t.Skip("WARNING: skipping test because of solc different version (%v, test written for %v, may need to update)", solc.Version(), solcVersion)
3939
}
4040
source := `contract test {\n` +
4141
" /// @notice Will multiply `a` by 7." + `\n` +

0 commit comments

Comments
 (0)