aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJim McDonald <Jim@mcdee.net>2017-07-16 20:29:20 +0800
committerJim McDonald <Jim@mcdee.net>2017-07-16 20:29:20 +0800
commit688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a (patch)
tree434e67053bc3ea15c1a117f549d7b9e244635ba0 /cmd
parentad8d519eb5dbf7852737f827c563c70287a4dfa8 (diff)
downloaddexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.tar
dexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.tar.gz
dexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.tar.bz2
dexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.tar.lz
dexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.tar.xz
dexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.tar.zst
dexon-688ee6d1e5194c5ec1c7862e47a674a13b0f5f4a.zip
cmd/geth: update tests for EIP55-compliant Address.Hex()
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/accountcmd_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/geth/accountcmd_test.go b/cmd/geth/accountcmd_test.go
index e146323ee..66e3e02a4 100644
--- a/cmd/geth/accountcmd_test.go
+++ b/cmd/geth/accountcmd_test.go
@@ -146,7 +146,7 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages := []string{
"Unlocked account",
- "=0xf466859ead1932d743d622cb74fc058882e8648a",
+ "=0xf466859eAD1932D743d622CB74FC058882E8648A",
}
for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) {
@@ -191,8 +191,8 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages := []string{
"Unlocked account",
- "=0x7ef5a6135f1fd6a02593eedc869c6d41d934aef8",
- "=0x289d485d9771714cce91d3393d764e1311907acc",
+ "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8",
+ "=0x289d485D9771714CCe91D3393D764E1311907ACc",
}
for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) {
@@ -211,8 +211,8 @@ func TestUnlockFlagPasswordFile(t *testing.T) {
wantMessages := []string{
"Unlocked account",
- "=0x7ef5a6135f1fd6a02593eedc869c6d41d934aef8",
- "=0x289d485d9771714cce91d3393d764e1311907acc",
+ "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8",
+ "=0x289d485D9771714CCe91D3393D764E1311907ACc",
}
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",
- "=0xf466859ead1932d743d622cb74fc058882e8648a",
+ "=0xf466859eAD1932D743d622CB74FC058882E8648A",
}
for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) {