Commit fc4e27a4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 59557f8a
...@@ -474,8 +474,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -474,8 +474,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
if !delfile { if !delfile {
filesOK.Add(foid) filesOK.Add(foid)
} }
RfilesOK := map[zodb.Oid]setOid{ RfilesOK := map[zodb.Oid]setOid{}
t.Root(): filesOK, if len(filesOK) != 0 {
RfilesOK[t.Root()] = filesOK
} }
if !reflect.DeepEqual(trackRfiles, RfilesOK) { if !reflect.DeepEqual(trackRfiles, RfilesOK) {
t.Errorf("Rfiles:\n~have: %v\n want: %v", trackRfiles, RfilesOK) t.Errorf("Rfiles:\n~have: %v\n want: %v", trackRfiles, RfilesOK)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment