Skip to content

Commit ef6a7f8

Browse files
committed
TestApp: Remove unused upstream_repository() method
1 parent ac7fa66 commit ef6a7f8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tests/util/test_app.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ impl TestApp {
132132
assert_some!(self.0.index.as_ref())
133133
}
134134

135-
/// Obtain a reference to the upstream repository ("the index")
136-
pub fn upstream_repository(&self) -> &git2::Repository {
137-
&self.upstream_index().repository
138-
}
139-
140135
/// Obtain a list of crates from the index HEAD
141136
pub fn crates_from_index_head(&self, crate_name: &str) -> Vec<cargo_registry::git::Crate> {
142137
self.upstream_index().crates_from_index_head(crate_name)

0 commit comments

Comments
 (0)