diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-11-10 01:48:26 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-12-22 02:03:35 +0100 |
commit | 15bb9cffa68076fd0cce3b5f7596cc8f6c69adf7 (patch) | |
tree | 91c6fd04da1d10667ff49fb09b652bd48d57a81f /tests | |
parent | 0937e61e4418d2be239906447d07b63e0778ebc1 (diff) |
Remove unused function file_path()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ui/src/imag.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/ui/src/imag.rs b/tests/ui/src/imag.rs index fb413ab3..1faba635 100644 --- a/tests/ui/src/imag.rs +++ b/tests/ui/src/imag.rs @@ -67,11 +67,6 @@ pub fn stderr_of_command(command: &mut Command) -> (Assert, Vec<String>) { (assert, lines) } -/// Create a PathBuf for a file in a TempDir -pub fn file_path(tempdir: &TempDir, path_elements: &[&str]) -> PathBuf { - create_path_for(tempdir.path().to_path_buf(), path_elements) -} - pub fn store_path(tempdir: &TempDir, path_elements: &[&str]) -> PathBuf { let mut path = tempdir.path().to_path_buf(); path.push("store"); |