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
24b68c60
Commit
24b68c60
authored
Sep 13, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
bf411aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wcfs/internal/zdata/δftail_test.go
wcfs/internal/zdata/δftail_test.go
+2
-2
No files found.
wcfs/internal/zdata/δftail_test.go
View file @
24b68c60
...
@@ -210,7 +210,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
...
@@ -210,7 +210,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
// start δFtail when zfile does not yet exists
// start δFtail when zfile does not yet exists
// this way we'll verify how ΔFtail rebuilds vδE for started-to-be-tracked file
// this way we'll verify how ΔFtail rebuilds vδE for started-to-be-tracked file
t0
:=
t
.
CommitTree
(
"øf"
)
t0
:=
t
.
CommitTree
(
"øf"
)
t
.
Logf
(
"# @
at0 (%s)"
,
t0
.
At
)
t
.
Logf
(
"# @
%s (%s)"
,
t0
.
AtSymb
()
,
t0
.
At
)
epochv
=
append
(
epochv
,
t0
.
At
)
epochv
=
append
(
epochv
,
t0
.
At
)
δFtail
:=
NewΔFtail
(
t
.
Head
()
.
At
,
t
.
DB
)
δFtail
:=
NewΔFtail
(
t
.
Head
()
.
At
,
t
.
DB
)
...
@@ -222,7 +222,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
...
@@ -222,7 +222,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
for
blk
:=
range
δt1
{
for
blk
:=
range
δt1
{
δblk1
.
Add
(
blk
)
δblk1
.
Add
(
blk
)
}
}
t
.
Logf
(
"# → @
at1 (%s) δT%s δD{} ; %s
\t
δ%s *not-yet-tracked"
,
t1
.
At
,
xbtreetest
.
KVTxt
(
δt1
),
t1
.
Tree
,
δblk1
)
t
.
Logf
(
"# → @
%s (%s) δT%s δD{} ; %s
\t
δ%s *not-yet-tracked"
,
t1
.
AtSymb
()
,
t1
.
At
,
xbtreetest
.
KVTxt
(
δt1
),
t1
.
Tree
,
δblk1
)
δF
,
err
:=
δFtail
.
Update
(
t1
.
ΔZ
);
X
(
err
)
δF
,
err
:=
δFtail
.
Update
(
t1
.
ΔZ
);
X
(
err
)
if
!
(
δF
.
Rev
==
t1
.
At
&&
len
(
δF
.
ByFile
)
==
0
)
{
if
!
(
δF
.
Rev
==
t1
.
At
&&
len
(
δF
.
ByFile
)
==
0
)
{
t
.
Errorf
(
"wrong δF:
\n
have {%s, %v}
\n
want: {%s, ø}"
,
δF
.
Rev
,
δF
.
ByFile
,
t1
.
At
)
t
.
Errorf
(
"wrong δF:
\n
have {%s, %v}
\n
want: {%s, ø}"
,
δF
.
Rev
,
δF
.
ByFile
,
t1
.
At
)
...
...
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