satisfy cranky

This commit is contained in:
Nikita Galaiko 2023-11-02 09:21:05 +01:00 committed by GitButler
parent 3ebd071e9e
commit 531bff3061

View File

@ -35,7 +35,7 @@ mod init {
.add(test_project.path())
.expect("failed to add project");
std::fs::create_dir(project.path.join("dir")).unwrap();
std::fs::create_dir_all(project.path.join("dir")).unwrap();
std::fs::write(project.path.join("dir/file"), "content").unwrap();
std::os::unix::fs::symlink(project.path.join("dir"), project.path.join("dir_link"))
.unwrap();
@ -56,7 +56,7 @@ mod init {
.add(test_project.path())
.expect("failed to add project");
std::fs::create_dir(project.path.join("dir")).unwrap();
std::fs::create_dir_all(project.path.join("dir")).unwrap();
std::fs::write(project.path.join("dir/file"), "content").unwrap();
std::os::unix::fs::symlink(project.path.join("dir"), project.path.join("dir_link"))
.unwrap();
@ -113,7 +113,7 @@ mod flush {
let gb_repo =
gb_repository::Repository::open(&data_dir, &project_repository, None).unwrap();
std::fs::create_dir(project.path.join("dir")).unwrap();
std::fs::create_dir_all(project.path.join("dir")).unwrap();
std::fs::write(project.path.join("dir/file"), "content").unwrap();
std::os::unix::fs::symlink(project.path.join("dir"), project.path.join("dir_link"))
.unwrap();