summaryrefslogtreecommitdiffstats
path: root/tests/common/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/mod.rs')
-rw-r--r--tests/common/mod.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 5c48923..0b46aeb 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1,3 +1,7 @@
+// Every test binary compiles this file, so a helper that one of them uses is
+// dead code in the other twenty and the lint would fire everywhere and mean
+// nothing. `the_test_helpers_are_used` in tests/architecture.rs is the check
+// that does matter: a helper no test names is deleted, not excused.
#![allow(dead_code)]
use std::collections::HashMap;
@@ -507,12 +511,6 @@ impl Fixture {
git(&up, &["rev-parse", "HEAD"])
}
- pub fn upstream2_commit(&self, body: &str) -> String {
- let up = self.upstream2.clone().expect("fixture has no second upstream repo");
- git_add_commit(&up, &[(("README"), body)], body);
- git(&up, &["rev-parse", "HEAD"])
- }
-
pub fn upstream_head(&self) -> String {
let up = self.upstream.clone().expect("fixture has no upstream repo");
git(&up, &["rev-parse", "HEAD"])