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
e003e87e
Commit
e003e87e
authored
Sep 23, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
eeeb2673
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
wcfs/internal/xbtree/δbtail_test.go
wcfs/internal/xbtree/δbtail_test.go
+5
-8
No files found.
wcfs/internal/xbtree/δbtail_test.go
View file @
e003e87e
...
...
@@ -739,10 +739,12 @@ func xverifyΔBTail_Update1(t *testing.T, subj string, db *zodb.DB, treeRoot zod
δB
,
err
:=
δbtail
.
Update
(
δZ
);
X
(
err
)
if
δB
.
Rev
!=
δZ
.
Tid
{
badf
(
"δB: rev != δZ.Tid ; rev=%s δZ.Tid=%s"
,
δB
.
Rev
,
δZ
.
Tid
)
return
}
// assert δBtail[root].vδT = δBtail_[root].vδT
//
// NOTE we don't verify .roots because δB1.roots always has treeRoot because
// for debugging δtkeycov information is always recorded, even if empty.
var
vδT
,
vδT_
[]
ΔTree
if
δttail
,
ok
:=
δbtail
.
byRoot
[
treeRoot
];
ok
{
vδT
=
δttail
.
vδT
...
...
@@ -754,11 +756,6 @@ func xverifyΔBTail_Update1(t *testing.T, subj string, db *zodb.DB, treeRoot zod
badf
(
"δBtail.vδT differs after Update and _Update1:
\n
_Update1: %v
\n
Update: %v"
,
vδT_
,
vδT
)
}
if
δB
.
Rev
!=
δZ
.
Tid
{
badf
(
"δB: rev != δZ.Tid ; rev=%s δZ.Tid=%s"
,
δB
.
Rev
,
δZ
.
Tid
)
return
}
// verify δbtail.trackSet against @at2
δbtail
.
assertTrack
(
t
,
"2"
,
trackSet2
,
ø
)
...
...
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