-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a few minor issues with the jj prev tests #3430
Conversation
ff6572d
to
2e6ca9e
Compare
2e6ca9e
to
005f803
Compare
9696d67
to
73711de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are things I do not fully understand why they're done and could please undo the changes which mention discardable commits as they're missleading.
9f4db66
to
9fbfa8b
Compare
Done. I deleted everything that mentioned discardable commits. |
9fbfa8b
to
0f069ac
Compare
Is there anything else we should change or is this ready now? |
0f069ac
to
e959102
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This commit adds commit graphs to most of the tests for `jj prev` to make it clearer where `@` points before and after `prev` is run. In addition, there were a couple of tests where the comments suggested the test meant to have `@` pointing to a specific commit, but it actually pointed to an empty child of that commit. This sort of issue also exists in `test_prev_editing`. The test is supposed to check that `--edit` is implied if you run `jj prev` on an interior commit, but it actually caused a new empty commit to be created since `@` was sitting on a tip commit.
e959102
to
bac9891
Compare
This commit adds commit graphs to most of the tests for
jj prev
to make itclearer where
@
points before and afterprev
is run.In addition, there were a couple of tests where the comments suggested the test
meant to have
@
pointing to a specific commit, but it actually pointed to anempty child of that commit.
This sort of issue also exists in
test_prev_editing
. The test is supposed tocheck that
--edit
is implied if you runjj prev
on an interior commit, butit actually caused a new empty commit to be created since
@
was sitting on atip commit.