Skip to content

UnusedFlow warning when verifying function that returns Flow #114

@aielcbmDev

Description

@aielcbmDev

Hi Mokkery Team,

I've realised that when I verify a function that returns a Flow, a warning is displayed complaining that the "Flow is constructed but not used ".

For now I'm using "@Suppress("UnusedFlow")" or ".let {}" to handle the UnusedFlow warning without removing the verification logic.

I'd like to know if this is the expected behaviour or I'm missing something.

Regards!

I attach a small project that reproduces the issue.

TestMokkery.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    polish ✨Minor refinements and improvements.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions