mirror of
https://github.com/libp2p/go-eventbus.git
synced 2025-03-13 10:20:10 +08:00
fix compile error in tests.
This commit is contained in:
parent
8b7b645962
commit
015ba825e9
@ -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")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user