Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
522cfc68
Commit
522cfc68
authored
6 years ago
by
Geon Kim
Committed by
Péter Szilágyi
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swarm: fix typos (#17473)
parent
a063fe9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
simulation_test.go
swarm/network/simulation/simulation_test.go
+3
-3
No files found.
swarm/network/simulation/simulation_test.go
View file @
522cfc68
...
...
@@ -63,7 +63,7 @@ func TestRun(t *testing.T) {
}
})
t
.
Run
(
"cancelation"
,
func
(
t
*
testing
.
T
)
{
t
.
Run
(
"cancel
l
ation"
,
func
(
t
*
testing
.
T
)
{
ctx
,
cancel
:=
context
.
WithTimeout
(
context
.
Background
(),
50
*
time
.
Millisecond
)
defer
cancel
()
...
...
@@ -164,7 +164,7 @@ func TestDone(t *testing.T) {
select
{
case
<-
time
.
After
(
timeout
)
:
t
.
Error
(
"done channel closing tim
m
ed out"
)
t
.
Error
(
"done channel closing timed out"
)
case
<-
sim
.
Done
()
:
if
d
:=
time
.
Since
(
start
);
d
<
sleep
{
t
.
Errorf
(
"done channel closed sooner then expected: %s"
,
d
)
...
...
@@ -172,7 +172,7 @@ func TestDone(t *testing.T) {
}
}
// a helper map for usual services that do not do anyting
// a helper map for usual services that do not do anyt
h
ing
var
noopServiceFuncMap
=
map
[
string
]
ServiceFunc
{
"noop"
:
noopServiceFunc
,
}
...
...
This diff is collapsed.
Click to expand it.
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