mirror of
https://github.com/go-mqtt/mqtt.git
synced 2025-08-07 11:42:52 +03:00
Method typo in mqtttest.
This commit is contained in:
@@ -178,7 +178,7 @@ type Filter struct {
|
|||||||
|
|
||||||
// NewSubscribeMock returns a new mock for mqtt.Client Subscribe, which compares
|
// NewSubscribeMock returns a new mock for mqtt.Client Subscribe, which compares
|
||||||
// the invocation with want in order of appearece.
|
// the invocation with want in order of appearece.
|
||||||
func SubscribeMock(t testing.TB, want ...Filter) func(quit <-chan struct{}, topicFilters ...string) error {
|
func NewSubscribeMock(t testing.TB, want ...Filter) func(quit <-chan struct{}, topicFilters ...string) error {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
return newSubscribeMock("subscribe", t, want...)
|
return newSubscribeMock("subscribe", t, want...)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user