Skip to content
#

mockito

Here are 1,742 public repositories matching this topic...

bbrk24
bbrk24 commented Mar 9, 2022

I'm mocking a protocol with a function that looks like this:

func foo(
    completion: @escaping (
        _ bar: Int,
        _ baz: Int,
        _ qux: Int
    ) -> Void
)

The generated mocks do not properly remove the line breaks before attempting to put it into a single-line string literal, resulting in the errors Unterminated string literal, `Consecutive statement

bug good first issue
f-person
f-person commented Dec 6, 2021

Is your feature request related to a problem? Please describe.
I think there are people who migrate to mocktail from mockito after migrating their app to null safety. I think the migration process can be simplified so that the developers don't have to read the full documentation.

Describe the solution you'd like
A table in README that maps mockito way of doing things to `mocktai

documentation good first issue

Improve this page

Add a description, image, and links to the mockito topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mockito topic, visit your repo's landing page and select "manage topics."

Learn more