whisper: cleanup lefover scoping

This commit is contained in:
Péter Szilágyi
2015-04-17 14:11:46 +03:00
parent bd14bd6c5b
commit 4afc22ba6e
3 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ func TestTopicSetCreation(t *testing.T) {
for i, tt := range topicCreationTests {
topics[i] = NewTopic(tt.data)
}
set := NewTopicSet(topics)
set := newTopicSet(topics)
for i, tt := range topicCreationTests {
topic := NewTopic(tt.data)
if _, ok := set[topic.String()]; !ok {