Commit 3c40e38d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8a1d99b3
...@@ -156,8 +156,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -156,8 +156,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
} }
// commit updated blkTab + dataTab // commit updated blkTab + dataTab
tdTxt := fmt.Sprintf("t%s D%s", xbtreetest.KVTxt(blkTab), dataTabTxt(dataTab)) tTxt := "t" + xbtreetest.KVTxt(blkTab)
commit := t.CommitTree(tdTxt) dTxt := "D" + dataTabTxt(dataTab)
commit := t.CommitTree(tTxt + " " + dTxt)
var δfok *ΔFile var δfok *ΔFile
if len(δblk) != 0 { if len(δblk) != 0 {
...@@ -170,7 +171,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -170,7 +171,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
} }
xat[commit.At] = fmt.Sprintf("at%d", i) xat[commit.At] = fmt.Sprintf("at%d", i)
t.Logf("# → @%s (%s) δT%s δD%s", xat[commit.At], commit.At, xbtreetest.KVTxt(test.δblkTab), test.δdataTab) t.Logf("# → @%s (%s) δT%s δD%s\t; %s", xat[commit.At], commit.At, xbtreetest.KVTxt(test.δblkTab), test.δdataTab, tTxt)
// update δftail // update δftail
δF, err := δftail.Update(commit.ΔZ); X(err) δF, err := δftail.Update(commit.ΔZ); X(err)
......
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