good morning!!!!

Skip to content
Snippets Groups Projects
Commit 14994fa2 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

rpc: skip test if solc version doesn't match

parent bc6031e7
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ func TestCompileSolidity(t *testing.T) { ...@@ -35,7 +35,7 @@ func TestCompileSolidity(t *testing.T) {
if solc == nil { if solc == nil {
t.Skip("no solc found: skip") t.Skip("no solc found: skip")
} else if solc.Version() != solcVersion { } else if solc.Version() != solcVersion {
t.Logf("WARNING: solc different version found (%v, test written for %v, may need to update)", solc.Version(), solcVersion) t.Skip("WARNING: skipping test because of solc different version (%v, test written for %v, may need to update)", solc.Version(), solcVersion)
} }
source := `contract test {\n` + source := `contract test {\n` +
" /// @notice Will multiply `a` by 7." + `\n` + " /// @notice Will multiply `a` by 7." + `\n` +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment