diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 19:24:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 19:24:42 +0800 |
commit | 900e124beea551ded290f61e7bf85ff6b2e4a29e (patch) | |
tree | f4447602e77956699a8df44a1edc9932688d48fd /node/config_test.go | |
parent | 7486904b92449c5955bb682f4ff98752906912b8 (diff) | |
download | go-tangerine-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.gz go-tangerine-900e124beea551ded290f61e7bf85ff6b2e4a29e.tar.zst go-tangerine-900e124beea551ded290f61e7bf85ff6b2e4a29e.zip |
cmd, common, node, rpc: rework naming convention to canonical one
Diffstat (limited to 'node/config_test.go')
-rw-r--r-- | node/config_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node/config_test.go b/node/config_test.go index efb864ce4..45a54d184 100644 --- a/node/config_test.go +++ b/node/config_test.go @@ -63,10 +63,10 @@ func TestDatadirCreation(t *testing.T) { // Tests that IPC paths are correctly resolved to valid endpoints of different // platforms. -func TestIpcPathResolution(t *testing.T) { +func TestIPCPathResolution(t *testing.T) { var tests = []struct { DataDir string - IpcPath string + IPCPath string Windows bool Endpoint string }{ @@ -85,7 +85,7 @@ func TestIpcPathResolution(t *testing.T) { for i, test := range tests { // Only run when platform/test match if (runtime.GOOS == "windows") == test.Windows { - if endpoint := (&Config{DataDir: test.DataDir, IpcPath: test.IpcPath}).IpcEndpoint(); endpoint != test.Endpoint { + if endpoint := (&Config{DataDir: test.DataDir, IPCPath: test.IPCPath}).IPCEndpoint(); endpoint != test.Endpoint { t.Errorf("test %d: IPC endpoint mismatch: have %s, want %s", i, endpoint, test.Endpoint) } } |