提交 f46af450 编写于 作者: O obscuren

geth: fixed failing cli tests

上级 8db7b237
...@@ -175,7 +175,7 @@ func TestBlockChain(t *testing.T) { ...@@ -175,7 +175,7 @@ func TestBlockChain(t *testing.T) {
defer ethereum.Stop() defer ethereum.Stop()
// should get current block // should get current block
val0, err := repl.re.Run("admin.dumpBlock()") val0, err := repl.re.Run("admin.debug.dumpBlock()")
if err != nil { if err != nil {
t.Errorf("expected no error, got %v", err) t.Errorf("expected no error, got %v", err)
} }
...@@ -197,7 +197,7 @@ func TestBlockChain(t *testing.T) { ...@@ -197,7 +197,7 @@ func TestBlockChain(t *testing.T) {
var val1 otto.Value var val1 otto.Value
// should get current block // should get current block
val1, err = repl.re.Run("admin.dumpBlock()") val1, err = repl.re.Run("admin.debug.dumpBlock()")
if err != nil { if err != nil {
t.Errorf("expected no error, got %v", err) t.Errorf("expected no error, got %v", err)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册