Skip to content

cloudevents diff not working as expected #26

@n3wscott

Description

@n3wscott
  • cloudevents diff should fail if expected is not found in the diff even for --ignore-additional
  • cloudevents diff want got should keep searching for a valid pass for each want in got. At the moment it tests and fails on the first match based on --find, but got could have more than one match.
  • cloudevents diff want got should mark got's list as "used" as it works through all the wants.

the third point is interesting. It is not clear how much shuffling we really want to produce. It is a bit of the greedy matching problem in regex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions