diff options
Diffstat (limited to 'src/git/tests.rs')
-rw-r--r-- | src/git/tests.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/git/tests.rs b/src/git/tests.rs index ef6c763..16eeb93 100644 --- a/src/git/tests.rs +++ b/src/git/tests.rs @@ -129,7 +129,9 @@ mod low_level { // have to create a Git manually for this one. ah well. :( let git_clone = Git { path: clone.path().into(), - pending_branches: None, + inner: CacheRepo { + _non_exhaustive: (), + }, sha256: false, }; git_clone.cmd_clone_from(repo.path(), |args| { @@ -173,7 +175,9 @@ mod privates { // have to create a Git manually for this one. ah well. :( let mut git_clone = Git { path: clone.path().into(), - pending_branches: Some(Default::default()), + inner: FetchRepo { + pending_branches: Default::default(), + }, sha256: false, }; git.fork(&mut git_clone).unwrap(); @@ -190,7 +194,9 @@ mod privates { // have to create a Git manually for this one. ah well. :( let mut git_clone = Git { path: clone.path().into(), - pending_branches: Some(Default::default()), + inner: FetchRepo { + pending_branches: Default::default(), + }, sha256: false, }; git.fork(&mut git_clone).unwrap(); |