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
3568e415
Commit
3568e415
authored
Jun 01, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4f20f158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+0
-5
No files found.
wcfs/δbtail_test.go
View file @
3568e415
...
@@ -474,10 +474,6 @@ func TestIntSets(t *testing.T) {
...
@@ -474,10 +474,6 @@ func TestIntSets(t *testing.T) {
// kvdiff returns differens in between kv1 and kv2.
// kvdiff returns differens in between kv1 and kv2.
var
DEL
=
"ø"
// DEL means key deletion
var
DEL
=
"ø"
// DEL means key deletion
//type kvdelta1 struct {
// k Key
// v string // DEL means delete
//}
func
kvdiff
(
kv1
,
kv2
map
[
Key
]
string
)
map
[
Key
]
string
{
func
kvdiff
(
kv1
,
kv2
map
[
Key
]
string
)
map
[
Key
]
string
{
delta
:=
map
[
Key
]
string
{}
delta
:=
map
[
Key
]
string
{}
keys
:=
SetKey
{}
keys
:=
SetKey
{}
...
@@ -502,7 +498,6 @@ func kvdiff(kv1, kv2 map[Key]string) map[Key]string {
...
@@ -502,7 +498,6 @@ func kvdiff(kv1, kv2 map[Key]string) map[Key]string {
return
delta
return
delta
}
}
func
TestKVDiff
(
t
*
testing
.
T
)
{
func
TestKVDiff
(
t
*
testing
.
T
)
{
kv1
:=
map
[
Key
]
string
{
1
:
"a"
,
3
:
"c"
,
4
:
"d"
}
kv1
:=
map
[
Key
]
string
{
1
:
"a"
,
3
:
"c"
,
4
:
"d"
}
kv2
:=
map
[
Key
]
string
{
1
:
"b"
,
4
:
"d"
,
5
:
"e"
}
kv2
:=
map
[
Key
]
string
{
1
:
"b"
,
4
:
"d"
,
5
:
"e"
}
...
...
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