From deb090392223c96a203a72b32cb68887c90ca3d6 Mon Sep 17 00:00:00 2001 From: AnilChinchawale Date: Thu, 24 May 2018 15:28:59 +0530 Subject: [PATCH] updated GENESIS_TEST.GO --- cmd/XDC/genesis_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/XDC/genesis_test.go b/cmd/XDC/genesis_test.go index a00ae00c19..e14f342087 100644 --- a/cmd/XDC/genesis_test.go +++ b/cmd/XDC/genesis_test.go @@ -84,7 +84,7 @@ var customGenesisTests = []struct { }, } -// Tests that initializing Geth with a custom genesis block and chain definitions +// Tests that initializing XDC with a custom genesis block and chain definitions // work properly. func TestCustomGenesis(t *testing.T) { for i, tt := range customGenesisTests { @@ -100,11 +100,11 @@ func TestCustomGenesis(t *testing.T) { runGeth(t, "--datadir", datadir, "init", json).WaitExit() // Query the custom genesis block - geth := runGeth(t, + XDC := runGeth(t, "--datadir", datadir, "--maxpeers", "0", "--port", "0", "--nodiscover", "--nat", "none", "--ipcdisable", "--exec", tt.query, "console") - geth.ExpectRegexp(tt.result) - geth.ExpectExit() + XDC.ExpectRegexp(tt.result) + XDC.ExpectExit() } }