Skip to content

cmd/geth/consolecmd_test.go

Type MOD
Upstream Lines 159
Changed +2 -2

Match the rebranded clientIdentifier (getc) in the welcome banner assertion

diff --git a/cmd/geth/consolecmd_test.go b/cmd/geth/consolecmd_test.go
index 2c8522d10..6061d4fb1 100644
--- a/cmd/geth/consolecmd_test.go
+++ b/cmd/geth/consolecmd_test.go
@@ -69,7 +69,7 @@ func TestConsoleWelcome(t *testing.T) {
    geth.Expect(`
 Welcome to the Geth JavaScript console!

-instance: Geth/v{{gethver}}/{{goos}}-{{goarch}}/{{gover}}
+instance: getc/v{{gethver}}/{{goos}}-{{goarch}}/{{gover}}
 at block: 0 ({{niltime}})
  datadir: {{.Datadir}}
  modules: {{apis}}
@@ -140,7 +140,7 @@ func testAttachWelcome(t *testing.T, geth *testgeth, endpoint, apis string) {
    attach.Expect(`
 Welcome to the Geth JavaScript console!

-instance: Geth/v{{gethver}}/{{goos}}-{{goarch}}/{{gover}}
+instance: getc/v{{gethver}}/{{goos}}-{{goarch}}/{{gover}}
 at block: 0 ({{niltime}}){{if ipc}}
  datadir: {{datadir}}{{end}}
  modules: {{apis}}

← Back to CLI, Config & Genesis