geth: fixed failing cli tests

pull/728/head
obscuren 10 years ago
parent 8db7b2374c
commit f46af4508b
  1. 4
      cmd/geth/js_test.go

@ -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) {
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)
} }

Loading…
Cancel
Save