1
0
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:
Pascal S. de Kloe
2021-02-18 22:57:37 +01:00
parent 65b7a961fb
commit e884abeef8

View File

@@ -178,7 +178,7 @@ type Filter struct {
// NewSubscribeMock returns a new mock for mqtt.Client Subscribe, which compares
// 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()
return newSubscribeMock("subscribe", t, want...)
}