You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the underlying netlink package provides a nltest package, with a Dial() function that allows to create a dummy connection, and test that expected netlink messages are sent.
I see that this library already has an internal newConn() helper used for its own tests, so a way to fulfil this request would simply be to export this function, and let consumers call it together with nltest.Dial(). But maybe it would be better to put it in its own package, as netlink did it?
What do you think about this?
The text was updated successfully, but these errors were encountered:
For example, the underlying
netlink
package provides anltest
package, with aDial()
function that allows to create a dummy connection, and test that expected netlink messages are sent.I see that this library already has an internal
newConn()
helper used for its own tests, so a way to fulfil this request would simply be to export this function, and let consumers call it together withnltest.Dial()
. But maybe it would be better to put it in its own package, asnetlink
did it?What do you think about this?
The text was updated successfully, but these errors were encountered: