diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:54 +0800 |
commit | d09c4f37a430b03e42d0ae3324907f040adc1449 (patch) | |
tree | 05f27af84647a2d3296a8d4fec578c11c5a1f87a /dex/nodetable_test.go | |
parent | 25a0e3a6b67cf646611153599e5b9cde2f2e8435 (diff) | |
download | go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.tar go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.gz go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.bz2 go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.lz go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.xz go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.tar.zst go-tangerine-d09c4f37a430b03e42d0ae3324907f040adc1449.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) |