diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 7ece1a9f76ba17eb07c078cce6f8ffe48bac7551 (patch) | |
tree | 6f3a71a6257e23521a1ed4be3088f436b757bdb3 /dex/nodetable_test.go | |
parent | 3bc8c1628257b2fab50f260e048118fc56b1ab02 (diff) | |
download | go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.gz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.zst go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.zip |
Fix lint
Diffstat (limited to 'dex/nodetable_test.go')
-rw-r--r-- | dex/nodetable_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dex/nodetable_test.go b/dex/nodetable_test.go index 5adf0fbec..da00098a9 100644 --- a/dex/nodetable_test.go +++ b/dex/nodetable_test.go @@ -17,13 +17,13 @@ func TestNodeTable(t *testing.T) { table.SubscribeNewMetasEvent(ch) metas1 := []*NodeMeta{ - &NodeMeta{ID: randomID()}, - &NodeMeta{ID: randomID()}, + {ID: randomID()}, + {ID: randomID()}, } metas2 := []*NodeMeta{ - &NodeMeta{ID: randomID()}, - &NodeMeta{ID: randomID()}, + {ID: randomID()}, + {ID: randomID()}, } go table.Add(metas1) |