aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/config_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-24 18:59:48 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:51 +0800
commit832edda709e2d6414e417e8e561b9cc83f8f09bb (patch)
treed797fb233f3fb6758b69d2550440cfad40765e5d /cmd/swarm/config_test.go
parentd8b0b71610758cc7d218a012f27071937efff60e (diff)
downloaddexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.gz
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.bz2
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.lz
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.xz
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.tar.zst
dexon-832edda709e2d6414e417e8e561b9cc83f8f09bb.zip
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'cmd/swarm/config_test.go')
-rw-r--r--cmd/swarm/config_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/swarm/config_test.go b/cmd/swarm/config_test.go
index 6bc613274..17abb7c78 100644
--- a/cmd/swarm/config_test.go
+++ b/cmd/swarm/config_test.go
@@ -473,7 +473,7 @@ func TestConfigValidate(t *testing.T) {
}{
{
cfg: &api.Config{EnsAPIs: []string{
- "/data/testnet/geth.ipc",
+ "/data/testnet/gdex.ipc",
}},
},
{
@@ -488,7 +488,7 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "test:/data/testnet/geth.ipc",
+ "test:/data/testnet/gdex.ipc",
}},
},
{
@@ -498,7 +498,7 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/geth.ipc",
+ "314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/gdex.ipc",
}},
},
{
@@ -513,7 +513,7 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "test:314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/geth.ipc",
+ "test:314159265dD8dbb310642f98f50C066173C1259b@/data/testnet/gdex.ipc",
}},
},
{
@@ -546,9 +546,9 @@ func TestConfigValidate(t *testing.T) {
},
{
cfg: &api.Config{EnsAPIs: []string{
- "@/data/testnet/geth.ipc",
+ "@/data/testnet/gdex.ipc",
}},
- err: "invalid format [tld:][contract-addr@]url for ENS API endpoint configuration \"@/data/testnet/geth.ipc\": missing contract address",
+ err: "invalid format [tld:][contract-addr@]url for ENS API endpoint configuration \"@/data/testnet/gdex.ipc\": missing contract address",
},
} {
err := validateConfig(c.cfg)