aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-08 18:43:31 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-08 18:43:31 +0800
commit45c070fc8b0b8c98db97a9d25a0ca2fcaef26289 (patch)
treec37120a02ed0bf7d436adad0f7efb5c1384469f0 /rpc/args_test.go
parent637b2415d969a97b3d119be2aceb9411458d00d9 (diff)
parent009b2216921b15962f2612687c1460a8342d49d6 (diff)
downloaddexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.tar
dexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.tar.gz
dexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.tar.bz2
dexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.tar.lz
dexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.tar.xz
dexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.tar.zst
dexon-45c070fc8b0b8c98db97a9d25a0ca2fcaef26289.zip
Merge pull request #833 from ethersphere/frontier/solidity
solidity compiler and contract metadocs integration
Diffstat (limited to 'rpc/args_test.go')
-rw-r--r--rpc/args_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go
index f5949b7a2..09ce12467 100644
--- a/rpc/args_test.go
+++ b/rpc/args_test.go
@@ -2494,3 +2494,13 @@ func TestBlockHeightFromJsonInvalid(t *testing.T) {
t.Error(str)
}
}
+
+func TestSourceArgsEmpty(t *testing.T) {
+ input := `[]`
+
+ args := new(SourceArgs)
+ str := ExpectInsufficientParamsError(json.Unmarshal([]byte(input), &args))
+ if len(str) > 0 {
+ t.Error(str)
+ }
+}