Merge lp:~allenap/maas/text-equals-matcher into lp:~maas-committers/maas/trunk
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5551 |
Proposed branch: | lp:~allenap/maas/text-equals-matcher |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
154 lines (+106/-0) 2 files modified
src/maastesting/matchers.py (+38/-0) src/maastesting/tests/test_matchers.py (+68/-0) |
To merge this branch: | bzr merge lp:~allenap/maas/text-equals-matcher |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lee Trager (community) | Approve | ||
Review via email: mp+310545@code.launchpad.net |
Commit message
TextEquals matcher which displays a diff of differences when there's a mismatch.
This is especially useful when dealing with larger blocks of text.
Description of the change
I wrote this while working on another branch. I didn't need it there in the end, but it seems useful.
To post a comment you must log in.
Thanks for writing this, should make debug of tests much easier!