fix compile error in tests.

This commit is contained in:
Raúl Kripalani 2019-06-19 16:21:55 +01:00
parent 8b7b645962
commit 015ba825e9

View File

@ -156,7 +156,7 @@ func TestClosingRaces(t *testing.T) {
wg.Wait()
if len(b.nodes) != 0 {
if len(b.(*basicBus).nodes) != 0 {
t.Error("expected no nodes")
}
}