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
caa31ef6
Commit
caa31ef6
authored
Sep 23, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
604eeab7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
wcfs/internal/xbtree/δbtail_test.go
wcfs/internal/xbtree/δbtail_test.go
+2
-3
No files found.
wcfs/internal/xbtree/δbtail_test.go
View file @
caa31ef6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
// See https://www.nexedi.com/licensing for rationale and options.
// See https://www.nexedi.com/licensing for rationale and options.
package
xbtree
package
xbtree
// tests for δbtail.go
// tests for δbtail.go
/ treediff.go
//
//
// This are the main tests for ΔBtail functionality. There are two primary testing concerns:
// This are the main tests for ΔBtail functionality. There are two primary testing concerns:
//
//
...
@@ -1520,7 +1520,7 @@ func _KAdj(t1, t2 *xbtreetest.Commit, keysv ...setKey) (kadj KAdjMatrix) {
...
@@ -1520,7 +1520,7 @@ func _KAdj(t1, t2 *xbtreetest.Commit, keysv ...setKey) (kadj KAdjMatrix) {
func
assertΔTtail
(
t
*
testing
.
T
,
subj
string
,
δbtail
*
ΔBtail
,
tj
*
xbtreetest
.
Commit
,
treeRoot
zodb
.
Oid
,
vδTok
...
map
[
Key
]
Δstring
)
{
func
assertΔTtail
(
t
*
testing
.
T
,
subj
string
,
δbtail
*
ΔBtail
,
tj
*
xbtreetest
.
Commit
,
treeRoot
zodb
.
Oid
,
vδTok
...
map
[
Key
]
Δstring
)
{
t
.
Helper
()
t
.
Helper
()
T
:=
tj
.
T
//
XXX better require t to be xbtreetest.T instead?
T
:=
tj
.
T
//
TODO better require t to be xbtreetest.T instead
l
:=
len
(
vδTok
)
l
:=
len
(
vδTok
)
var
vatOK
[]
zodb
.
Tid
var
vatOK
[]
zodb
.
Tid
...
@@ -1765,7 +1765,6 @@ func sortedKeys(kv map[Key]Δstring) []Key {
...
@@ -1765,7 +1765,6 @@ func sortedKeys(kv map[Key]Δstring) []Key {
return
keyv
return
keyv
}
}
// XXX place
func
tidvEqual
(
av
,
bv
[]
zodb
.
Tid
)
bool
{
func
tidvEqual
(
av
,
bv
[]
zodb
.
Tid
)
bool
{
if
len
(
av
)
!=
len
(
bv
)
{
if
len
(
av
)
!=
len
(
bv
)
{
return
false
return
false
...
...
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