aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-15 03:26:28 +0800
committerobscuren <geffobscura@gmail.com>2015-04-15 03:26:28 +0800
commitf46af4508b6ecc713527b912d0a84039b4990c15 (patch)
tree7ecb18abf63519cfe1e3103fbfb805786fa7ad5a
parent8db7b2374cb9dc10c5cac2dd26f9e7413343d78a (diff)
downloaddexon-f46af4508b6ecc713527b912d0a84039b4990c15.tar
dexon-f46af4508b6ecc713527b912d0a84039b4990c15.tar.gz
dexon-f46af4508b6ecc713527b912d0a84039b4990c15.tar.bz2
dexon-f46af4508b6ecc713527b912d0a84039b4990c15.tar.lz
dexon-f46af4508b6ecc713527b912d0a84039b4990c15.tar.xz
dexon-f46af4508b6ecc713527b912d0a84039b4990c15.tar.zst
dexon-f46af4508b6ecc713527b912d0a84039b4990c15.zip
geth: fixed failing cli tests
-rw-r--r--cmd/geth/js_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go
index 5b962f621..4421b1d68 100644
--- a/cmd/geth/js_test.go
+++ b/cmd/geth/js_test.go
@@ -175,7 +175,7 @@ func TestBlockChain(t *testing.T) {
defer ethereum.Stop()
// should get current block
- val0, err := repl.re.Run("admin.dumpBlock()")
+ val0, err := repl.re.Run("admin.debug.dumpBlock()")
if err != nil {
t.Errorf("expected no error, got %v", err)
}
@@ -197,7 +197,7 @@ func TestBlockChain(t *testing.T) {
var val1 otto.Value
// should get current block
- val1, err = repl.re.Run("admin.dumpBlock()")
+ val1, err = repl.re.Run("admin.debug.dumpBlock()")
if err != nil {
t.Errorf("expected no error, got %v", err)
}