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

test_git_colocated: remove an unnecessary git import

The whole file is about the colocated case, where we automatically
import and export on every command, so there should be no reason to
call `git import` here.
This commit is contained in:
Martin von Zweigbergk 2022-11-04 21:55:01 -07:00 committed by Martin von Zweigbergk
parent 1bab9db28e
commit ea576a8327

View file

@ -26,7 +26,6 @@ fn test_git_colocated() {
// Create a commit from jj and check that it's reflected in git
std::fs::write(workspace_root.join("new-file"), "contents").unwrap();
test_env.jj_cmd_success(&workspace_root, &["close", "-m", "add a file"]);
test_env.jj_cmd_success(&workspace_root, &["git", "import"]);
let stdout =
test_env.jj_cmd_success(&workspace_root, &["log", "-T", "commit_id \" \" branches"]);
insta::assert_snapshot!(stdout, @r###"