X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/d9fddc0f506eb4ead7049f5638674b2b8773fcaa..a3b9849a54a6cd8a4cc5b1ae03a39aab31322f7b:/whatsapp_fake_helper_test.go diff --git a/whatsapp_fake_helper_test.go b/whatsapp_fake_helper_test.go index 8e1da13..53fc0e8 100644 --- a/whatsapp_fake_helper_test.go +++ b/whatsapp_fake_helper_test.go @@ -105,6 +105,7 @@ func (f *WhatsAppFake) ConnectContext(ctx context.Context) error { if len(f.connectErrors) > 0 { err := f.connectErrors[0] f.connectErrors = f.connectErrors[1:] + return err }