mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-03 15:33:13 +03:00
satisfy cranky
This commit is contained in:
parent
3ebd071e9e
commit
531bff3061
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user