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.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();