From ea576a83270b33b3e3b2adf7bce1d27862b6e5ef Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Fri, 4 Nov 2022 21:55:01 -0700 Subject: [PATCH] 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. --- tests/test_git_colocated.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_git_colocated.rs b/tests/test_git_colocated.rs index 3545a9816..d792aeb2f 100644 --- a/tests/test_git_colocated.rs +++ b/tests/test_git_colocated.rs @@ -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###"