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
2cde4726
Unverified
Commit
2cde4726
authored
May 31, 2021
by
Guillaume Ballet
Committed by
GitHub
May 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/state: fix typos in test error message (#22962)
parent
08ea52e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
statedb_test.go
core/state/statedb_test.go
+2
-2
No files found.
core/state/statedb_test.go
View file @
2cde4726
...
@@ -126,7 +126,7 @@ func TestIntermediateLeaks(t *testing.T) {
...
@@ -126,7 +126,7 @@ func TestIntermediateLeaks(t *testing.T) {
t
.
Errorf
(
"entry missing from the transition database: %x -> %x"
,
key
,
fvalue
)
t
.
Errorf
(
"entry missing from the transition database: %x -> %x"
,
key
,
fvalue
)
}
}
if
!
bytes
.
Equal
(
fvalue
,
tvalue
)
{
if
!
bytes
.
Equal
(
fvalue
,
tvalue
)
{
t
.
Errorf
(
"
the value associate key %x is mismatch,: %x in transition database ,
%x in final database"
,
key
,
tvalue
,
fvalue
)
t
.
Errorf
(
"
value mismatch at key %x: %x in transition database,
%x in final database"
,
key
,
tvalue
,
fvalue
)
}
}
}
}
it
.
Release
()
it
.
Release
()
...
@@ -139,7 +139,7 @@ func TestIntermediateLeaks(t *testing.T) {
...
@@ -139,7 +139,7 @@ func TestIntermediateLeaks(t *testing.T) {
t
.
Errorf
(
"extra entry in the transition database: %x -> %x"
,
key
,
it
.
Value
())
t
.
Errorf
(
"extra entry in the transition database: %x -> %x"
,
key
,
it
.
Value
())
}
}
if
!
bytes
.
Equal
(
fvalue
,
tvalue
)
{
if
!
bytes
.
Equal
(
fvalue
,
tvalue
)
{
t
.
Errorf
(
"
the value associate key %x is mismatch,: %x in transition database ,
%x in final database"
,
key
,
tvalue
,
fvalue
)
t
.
Errorf
(
"
value mismatch at key %x: %x in transition database,
%x in final database"
,
key
,
tvalue
,
fvalue
)
}
}
}
}
}
}
...
...
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