Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
6b1ef46d
Commit
6b1ef46d
authored
Jul 09, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
837ce84b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wcfs/internal/zdata/δftail_test.go
wcfs/internal/zdata/δftail_test.go
+3
-4
No files found.
wcfs/internal/zdata/δftail_test.go
View file @
6b1ef46d
...
@@ -110,10 +110,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
...
@@ -110,10 +110,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
i
:=
0
i
:=
0
xat
:=
map
[
zodb
.
Tid
]
string
{}
// tid > "at<i>"
for
test
:=
range
testq
{
for
test
:=
range
testq
{
i
++
i
++
//t.Logf("→ δT%s·δD%s\n", xbtreetest.KVTxt(test.δblkTab), test.δdataTab)
δblk
:=
setI64
{}
δblk
:=
setI64
{}
// rebuild blkTab/Zinblk
// rebuild blkTab/Zinblk
...
@@ -170,8 +169,8 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
...
@@ -170,8 +169,8 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
vδf
=
append
(
vδf
,
δfok
)
vδf
=
append
(
vδf
,
δfok
)
}
}
t
.
Logf
(
"→ @%s δT%s·δD%s"
,
commit
.
At
,
xbtreetest
.
KVTxt
(
test
.
δblkTab
),
test
.
δdataTab
)
xat
[
commit
.
At
]
=
fmt
.
Sprintf
(
"at%d"
,
i
)
//fmt.Printf("@%s %s\n", commit.At, commit.Tree
)
t
.
Logf
(
"→ @%s (%s) δT%s·δD%s"
,
xat
[
commit
.
At
],
commit
.
At
,
xbtreetest
.
KVTxt
(
test
.
δblkTab
),
test
.
δdataTab
)
// update δftail
// update δftail
δF
,
err
:=
δftail
.
Update
(
commit
.
ΔZ
);
X
(
err
)
δF
,
err
:=
δftail
.
Update
(
commit
.
ΔZ
);
X
(
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment