| | I used both rbt post and the "New Review Request" page to create review
|
| | requests with different Git diffs:
|
| | - Diff with 1 new empty file
|
| | - Diff with 2 new empty files
|
| | - Diff with 1 new empty file, 1 new non-empty file
|
~ | | - Diff with 1 new empty file, 2 modified files |
| ~ | - Diff with 1 new empty file, 2 modified files
|
| + | - Diff with 1 deleted empty file
|
| + | - Diff with 1 deleted empty file, 1 modified file
|
| + | - Diff with 1 deleted empty file, 1 deleted non-empty file, 1 modified file |
| |
|
| | After this change, the 3 unit tests that tested parsing a Git diff with a new
|
~ | | empty file failed (since a new empty file is now included, the number of files
|
~ | | from parse() has increased by 1). |
| ~ | empty file failed. (Since a new empty file is now included, the number of files
|
| ~ | from parse() has increased by 1.) |
| |
|
~ | | After updating the unit tests to reflect this change, all unit tests pass. |
| ~ | After updating the 3 unit tests to reflect this change, all unit tests pass.
|
| + | The 2 new unit tests that test the deletion of empty files also pass. |