aboutsummaryrefslogtreecommitdiffstats
path: root/dex/nodetable_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/nodetable_test.go')
-rw-r--r--dex/nodetable_test.go8
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)