Skip to content

cmd/geth/consolecmd_test.go

Type MOD
Upstream Lines 160
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 12ee7e7dd..c3b198b5f 100644
--- a/cmd/geth/consolecmd_test.go
+++ b/cmd/geth/consolecmd_test.go
@@ -70,7 +70,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}}
@@ -141,7 +141,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