summaryrefslogtreecommitdiffstats
path: root/tests/common
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-25 18:33:39 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-25 18:33:39 -0700
commit45e4cd9537f289a98579eef36a2dc3e561cc48fa (patch)
treee14c9a9f889c09b0fffb2f440341c185c963d66f /tests/common
parent55f9b88ba1d63db75ef9cde3cf94e5c98526ad2f (diff)
downloades-public-proxy-45e4cd9537f289a98579eef36a2dc3e561cc48fa.tar.gz
es-public-proxy-45e4cd9537f289a98579eef36a2dc3e561cc48fa.zip
move tests around
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 890dead..811b4b9 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -9,12 +9,6 @@ pub struct ExampleParts {
pub body: Option<String>,
}
-pub fn load_parts_by_name(name: &str) -> ExampleParts {
- let path = format!("tests/files/{}.txt", name);
- let path = Path::new(&path);
- load_parts(&path)
-}
-
pub fn load_parts(path: &Path) -> ExampleParts {
let file = std::fs::File::open(path).unwrap();