Skip to content

Commit

Permalink
test_rewrite: Fixup test comment after becbc88
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Jan 31, 2024
1 parent 9efa66e commit cfcc7c5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/tests/test_rewrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1622,8 +1622,11 @@ fn test_rebase_abandoning_empty() {
// Rebase B onto B2, where B2 and B have the same tree, abandoning all empty
// commits.
//
// We expect B, D, and G to be skipped because they're empty, but not E because
// it's the working commit. F also remains as it's not empty.
// We expect B, D, E and G to be skipped because they're empty. F remains
// as it's not empty. Since the working copy commit E is skipped, a new working
// copy commit should be created in its stead, just as would have happened if we
// did a normal rebase and then manually abandoned the working copy with `jj
// abandon`.
//
// F G (empty)
// |/
Expand Down

0 comments on commit cfcc7c5

Please sign in to comment.