Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.
This repository was archived by the owner on Mar 21, 2023. It is now read-only.

Fix strict fatalError on accessing before registration #17

@polac24

Description

@polac24

strictStub shouldn't automatically fatalError but return a function that fatalErrors, like:

 return { _ in
    fatalError("Unexpected stub call", file:file, line: line)
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions