store: remove Root

This commit is contained in:
Blake Mizerany
2014-08-29 16:43:02 -07:00
committed by Yicheng Qin
parent ba7d174349
commit f4613dd466
2 changed files with 1 additions and 6 deletions

View File

@ -82,7 +82,7 @@ func testServer(t *testing.T, ns int64) {
var last interface{}
for i, sv := range ss {
sv.Stop()
g := store.Root(sv.Store)
g, _ := sv.Store.Get("/", true, true)
if last != nil && !reflect.DeepEqual(last, g) {
t.Errorf("server %d: Root = %#v, want %#v", i, g, last)
}