mirror of
https://github.com/libp2p/go-eventbus.git
synced 2026-08-22 15:23:27 +08:00
fix compile error in tests.
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user