ok/jj
1
0
Fork 0
forked from mirrors/jj

tests: remove an unnecessary wc.commit() right after wc.check_out()

This commit is contained in:
Martin von Zweigbergk 2021-08-11 16:01:59 -07:00
parent 3c1a9b4d10
commit 7deba1172c

View file

@ -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.