mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-31 00:12:06 +00:00
tests: don't create workspaces in repo-loading tests
This commit is contained in:
parent
0fd3b8ef1a
commit
db47e14f69
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ use test_case::test_case;
|
|||
#[test_case(true ; "git backend")]
|
||||
fn test_load_at_operation(use_git: bool) {
|
||||
let settings = testutils::user_settings();
|
||||
let test_workspace = testutils::init_workspace(&settings, use_git);
|
||||
let repo = &test_workspace.repo;
|
||||
let test_repo = testutils::init_repo(&settings, use_git);
|
||||
let repo = &test_repo.repo;
|
||||
|
||||
let mut tx = repo.start_transaction("add commit");
|
||||
let commit = testutils::create_random_commit(&settings, repo).write_to_repo(tx.mut_repo());
|
||||
|
|
Loading…
Reference in a new issue