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
1dc9741a
Commit
1dc9741a
authored
Jul 08, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
32ddad76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
wcfs/internal/zdata/δftail_test.go
wcfs/internal/zdata/δftail_test.go
+5
-7
No files found.
wcfs/internal/zdata/δftail_test.go
View file @
1dc9741a
...
...
@@ -160,17 +160,15 @@ func TestΔFtail(t_ *testing.T) {
t
.
Fatal
(
"BUG: prepared δblk = ø"
)
}
δfok
:=
&
ΔFile
{
Rev
:
zodb
.
InvalidTid
,
// will be set after treegen commit
Blocks
:
δblk
,
Size
:
true
/*XXX*/
,
}
// commit updated blkTab + dataTab
tdTxt
:=
fmt
.
Sprintf
(
"t%s D%s"
,
xbtreetest
.
KVTxt
(
blkTab
),
dataTabTxt
(
dataTab
))
commit
:=
t
.
CommitTree
(
tdTxt
)
δfok
.
Rev
=
commit
.
At
δfok
:=
&
ΔFile
{
Rev
:
commit
.
At
,
Blocks
:
δblk
,
Size
:
true
/*XXX*/
,
}
vδf
=
append
(
vδf
,
δfok
)
fmt
.
Printf
(
"@%s δT: %v δD: %s
\n
"
,
commit
.
At
,
test
.
δblkTab
,
test
.
δdataTab
)
...
...
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