mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00:00
tests: remove an unnecessary wc.commit()
right after wc.check_out()
This commit is contained in:
parent
3c1a9b4d10
commit
7deba1172c
1 changed files with 0 additions and 1 deletions
|
@ -176,7 +176,6 @@ fn test_checkout_file_transitions(use_git: bool) {
|
|||
let owned_wc = repo.working_copy().clone();
|
||||
let wc = owned_wc.lock().unwrap();
|
||||
wc.check_out(left_commit).unwrap();
|
||||
repo = wc.commit(&settings, repo).0;
|
||||
wc.check_out(right_commit.clone()).unwrap();
|
||||
|
||||
// Check that the working copy is clean.
|
||||
|
|
Loading…
Reference in a new issue