Merge lp:~mbp/bzr/scripts into lp:bzr
Proposed by
Martin Pool
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vincent Ladeuil | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 5296 | ||||
Proposed branch: | lp:~mbp/bzr/scripts | ||||
Merge into: | lp:bzr | ||||
Diff against target: |
129 lines (+42/-19) 4 files modified
NEWS (+8/-4) bzrlib/tests/script.py (+6/-0) bzrlib/tests/test_script.py (+12/-0) doc/developers/testing.txt (+16/-15) |
||||
To merge this branch: | bzr merge lp:~mbp/bzr/scripts | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Review via email: mp+27581@code.launchpad.net |
Commit message
ignore common leading whitespace in shell-like script tests
Description of the change
This makes shell-like tests ignore consistent leading indentation which makes them much easier to use.
To post a comment you must log in.
Nice sugar.
Will it still work if a test expects an output with leading spaces like:
$ bzr xxx
done
I'm not sure we *need* to support that though and a leading '\ ' may work too in this case.