Skip to content

Support Swift.Dictionary in Shared Examples #377

@abbeycode

Description

@abbeycode

I'm trying to pass structs into a shared example context, but I get:

'[String: MyStruct]' is not convertible to 'NSDictionary'

It would be great if there were an overload of itBehavesLike() that took a different type of context, backed by a Swift.Dictionary instead of NSDictionary (even though it would be Swift-only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions