Fix some panics in tests

This commit is contained in:
Julia 2022-09-30 13:51:54 -04:00
parent 1c5d15b85e
commit 6540936970

View file

@ -175,11 +175,11 @@ impl GitRepository for FakeGitRepository {
} }
async fn load_head_text(&self, _: &Path) -> Option<String> { async fn load_head_text(&self, _: &Path) -> Option<String> {
unimplemented!() None
} }
fn reopen_git_repo(&mut self) -> bool { fn reopen_git_repo(&mut self) -> bool {
unimplemented!() false
} }
fn git_repo(&self) -> Arc<Mutex<LibGitRepository>> { fn git_repo(&self) -> Arc<Mutex<LibGitRepository>> {