From 45e4cd9537f289a98579eef36a2dc3e561cc48fa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 25 Aug 2020 18:33:39 -0700 Subject: move tests around --- tests/common/mod.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/common/mod.rs') 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, } -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(); -- cgit v1.2.3