消息 [167047]
Attaching patch with test cases.
I added 6 new tests:
*test_empty_string
test_whitespace_trailing
*test_drop_whitespace__all_whitespace
*test_initial_indent__empty_string
test_subsequent_indent__trailing_whitespace
test_subsequent_indent__long_indent
The starred ones fail with the current code (the test cases are similar to the snippets I included in my first comment). The others fail under a certain incorrect implementation of this issue. (I'm adding them to increase coverage of edge cases and to protect against future regressions.) |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-07-31 20:29:38 | chris.jerdonek | 修改 | recipients:
+ chris.jerdonek, twouters, gward, jcea |
| 2012-07-31 20:29:37 | chris.jerdonek | 修改 | messageid: <1343766577.94.0.257776629393.issue15510@psf.upfronthosting.co.za> |
| 2012-07-31 20:29:36 | chris.jerdonek | 链接 | issue15510 messages |
| 2012-07-31 20:29:36 | chris.jerdonek | 创建 | |
|