aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-10 03:02:24 +0800
committerobscuren <geffobscura@gmail.com>2015-06-10 03:02:24 +0800
commit14994fa21bf6f05554ff370d41005d06b68d20a5 (patch)
tree0ced967e60315698cc5056a984d7678c417bc1ce /rpc
parentbc6031e7bb453ec7e1f229b39e11967a8b32175a (diff)
downloaddexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar
dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.gz
dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.bz2
dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.lz
dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.xz
dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.tar.zst
dexon-14994fa21bf6f05554ff370d41005d06b68d20a5.zip
rpc: skip test if solc version doesn't match
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api_test.go2
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` +