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
688ee6d1
Commit
688ee6d1
authored
Jul 16, 2017
by
Jim McDonald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/geth: update tests for EIP55-compliant Address.Hex()
parent
ad8d519e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
accountcmd_test.go
cmd/geth/accountcmd_test.go
+6
-6
No files found.
cmd/geth/accountcmd_test.go
View file @
688ee6d1
...
...
@@ -146,7 +146,7 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages
:=
[]
string
{
"Unlocked account"
,
"=0xf466859e
ad1932d743d622cb74fc058882e8648a
"
,
"=0xf466859e
AD1932D743d622CB74FC058882E8648A
"
,
}
for
_
,
m
:=
range
wantMessages
{
if
!
strings
.
Contains
(
geth
.
StderrText
(),
m
)
{
...
...
@@ -191,8 +191,8 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages
:=
[]
string
{
"Unlocked account"
,
"=0x7
ef5a6135f1fd6a02593eedc869c6d41d
934aef8"
,
"=0x289d485
d9771714cce91d3393d764e1311907ac
c"
,
"=0x7
EF5A6135f1FD6a02593eEdC869c6D41D
934aef8"
,
"=0x289d485
D9771714CCe91D3393D764E1311907AC
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
ef5a6135f1fd6a02593eedc869c6d41d
934aef8"
,
"=0x289d485
d9771714cce91d3393d764e1311907ac
c"
,
"=0x7
EF5A6135f1FD6a02593eEdC869c6D41D
934aef8"
,
"=0x289d485
D9771714CCe91D3393D764E1311907AC
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
ad1932d743d622cb74fc058882e8648a
"
,
"=0xf466859e
AD1932D743d622CB74FC058882E8648A
"
,
}
for
_
,
m
:=
range
wantMessages
{
if
!
strings
.
Contains
(
geth
.
StderrText
(),
m
)
{
...
...
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