Commit d561e5c
committed
Explicitly check type of GetPeerInfo vector element
The `GetPeerInfo` type wraps a vector of `PeerInfo` types. In such
circumstances when we re-export the outer type super easy to either
forget to re-export the inner type. Currently most of our tests only
test the outer type.
Add a local variable assignment that explicitly uses the inner type,
there by proving all the re-exports are correct.
Tested by running v21 tests _without_ the re-export bug found in
review. And indeed this new test finds it.1 parent 8a26cd0 commit d561e5c
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
0 commit comments