diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-10 03:02:24 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-10 03:02:24 +0800 |
commit | 14994fa21bf6f05554ff370d41005d06b68d20a5 (patch) | |
tree | 0ced967e60315698cc5056a984d7678c417bc1ce /rpc/api_test.go | |
parent | bc6031e7bb453ec7e1f229b39e11967a8b32175a (diff) | |
download | dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.gz dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.zst dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.zip |
rpc: skip test if solc version doesn't match
Diffstat (limited to 'rpc/api_test.go')
-rw-r--r-- | rpc/api_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api_test.go b/rpc/api_test.go index d1dcad266..c3546e98f 100644 --- a/rpc/api_test.go +++ b/rpc/api_test.go @@ -35,7 +35,7 @@ func TestCompileSolidity(t *testing.T) { if solc == nil { t.Skip("no solc found: skip") } 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` + " /// @notice Will multiply `a` by 7." + `\n` + |