good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
688ee6d1
Commit
688ee6d1
authored
7 years ago
by
Jim McDonald
Browse files
Options
Downloads
Patches
Plain Diff
cmd/geth: update tests for EIP55-compliant Address.Hex()
parent
ad8d519e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/geth/accountcmd_test.go
+6
-6
6 additions, 6 deletions
cmd/geth/accountcmd_test.go
with
6 additions
and
6 deletions
cmd/geth/accountcmd_test.go
+
6
−
6
View file @
688ee6d1
...
...
@@ -146,7 +146,7 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages
:=
[]
string
{
"Unlocked account"
,
"=0xf466859e
ad
1932
d
743d622
cb74fc
058882
e
8648
a
"
,
"=0xf466859e
AD
1932
D
743d622
CB74FC
058882
E
8648
A
"
,
}
for
_
,
m
:=
range
wantMessages
{
if
!
strings
.
Contains
(
geth
.
StderrText
(),
m
)
{
...
...
@@ -191,8 +191,8 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages
:=
[]
string
{
"Unlocked account"
,
"=0x7
ef5a
6135f1
fd
6a02593e
edc
869c6
d
41
d
934aef8"
,
"=0x289d485
d
9771714
cc
e91
d
3393
d
764
e
1311907
ac
c"
,
"=0x7
EF5A
6135f1
FD
6a02593e
EdC
869c6
D
41
D
934aef8"
,
"=0x289d485
D
9771714
CC
e91
D
3393
D
764
E
1311907
AC
c"
,
}
for
_
,
m
:=
range
wantMessages
{
if
!
strings
.
Contains
(
geth
.
StderrText
(),
m
)
{
...
...
@@ -211,8 +211,8 @@ func TestUnlockFlagPasswordFile(t *testing.T) {
wantMessages
:=
[]
string
{
"Unlocked account"
,
"=0x7
ef5a
6135f1
fd
6a02593e
edc
869c6
d
41
d
934aef8"
,
"=0x289d485
d
9771714
cc
e91
d
3393
d
764
e
1311907
ac
c"
,
"=0x7
EF5A
6135f1
FD
6a02593e
EdC
869c6
D
41
D
934aef8"
,
"=0x289d485
D
9771714
CC
e91
D
3393
D
764
E
1311907
AC
c"
,
}
for
_
,
m
:=
range
wantMessages
{
if
!
strings
.
Contains
(
geth
.
StderrText
(),
m
)
{
...
...
@@ -261,7 +261,7 @@ In order to avoid this warning, you need to remove the following duplicate key f
wantMessages
:=
[]
string
{
"Unlocked account"
,
"=0xf466859e
ad
1932
d
743d622
cb74fc
058882
e
8648
a
"
,
"=0xf466859e
AD
1932
D
743d622
CB74FC
058882
E
8648
A
"
,
}
for
_
,
m
:=
range
wantMessages
{
if
!
strings
.
Contains
(
geth
.
StderrText
(),
m
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment