Commit 688ee6d1 authored by Jim McDonald's avatar Jim McDonald

cmd/geth: update tests for EIP55-compliant Address.Hex()

parent ad8d519e
...@@ -146,7 +146,7 @@ Passphrase: {{.InputLine "foobar"}} ...@@ -146,7 +146,7 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages := []string{ wantMessages := []string{
"Unlocked account", "Unlocked account",
"=0xf466859ead1932d743d622cb74fc058882e8648a", "=0xf466859eAD1932D743d622CB74FC058882E8648A",
} }
for _, m := range wantMessages { for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) { if !strings.Contains(geth.StderrText(), m) {
...@@ -191,8 +191,8 @@ Passphrase: {{.InputLine "foobar"}} ...@@ -191,8 +191,8 @@ Passphrase: {{.InputLine "foobar"}}
wantMessages := []string{ wantMessages := []string{
"Unlocked account", "Unlocked account",
"=0x7ef5a6135f1fd6a02593eedc869c6d41d934aef8", "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8",
"=0x289d485d9771714cce91d3393d764e1311907acc", "=0x289d485D9771714CCe91D3393D764E1311907ACc",
} }
for _, m := range wantMessages { for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) { if !strings.Contains(geth.StderrText(), m) {
...@@ -211,8 +211,8 @@ func TestUnlockFlagPasswordFile(t *testing.T) { ...@@ -211,8 +211,8 @@ func TestUnlockFlagPasswordFile(t *testing.T) {
wantMessages := []string{ wantMessages := []string{
"Unlocked account", "Unlocked account",
"=0x7ef5a6135f1fd6a02593eedc869c6d41d934aef8", "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8",
"=0x289d485d9771714cce91d3393d764e1311907acc", "=0x289d485D9771714CCe91D3393D764E1311907ACc",
} }
for _, m := range wantMessages { for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) { 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 ...@@ -261,7 +261,7 @@ In order to avoid this warning, you need to remove the following duplicate key f
wantMessages := []string{ wantMessages := []string{
"Unlocked account", "Unlocked account",
"=0xf466859ead1932d743d622cb74fc058882e8648a", "=0xf466859eAD1932D743d622CB74FC058882E8648A",
} }
for _, m := range wantMessages { for _, m := range wantMessages {
if !strings.Contains(geth.StderrText(), m) { if !strings.Contains(geth.StderrText(), m) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment