-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diff effects in NextPredicate (#177)
* Diff effects in NextPredicate * Test closestDiff * Update hasEffects failure message to explain diff signs * Test visual diffing in hasEffects * Prefix missing effect's dump with "-" * Fix SwiftLint violation * Prevent matched diffs from being reused * Move the generalised fuzzy diff logic to DebugDiff.swift * Diff results in `hasExactlyEffects` and `hasOnlyEffects` * Diff effects in FirstMatchers * Indent diff prefix and dump by 3 spaces The aim is to make the diff marks more clearly separated from actual dump string, as sometimes diff mark `–` might visually collide with dump() mark `-` * Fix SwiftLint issues Co-authored-by: Jens Ayton <[email protected]>
- Loading branch information
Showing
7 changed files
with
421 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.