diff options
Diffstat (limited to 'cli/test_util.rs')
-rw-r--r-- | cli/test_util.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/test_util.rs b/cli/test_util.rs index 4fda808ce..890b2783f 100644 --- a/cli/test_util.rs +++ b/cli/test_util.rs @@ -19,6 +19,10 @@ pub fn root_path() -> PathBuf { PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/..")) } +pub fn tests_path() -> PathBuf { + root_path().join("cli").join("tests") +} + pub fn target_dir() -> PathBuf { let current_exe = std::env::current_exe().unwrap(); let target_dir = current_exe.parent().unwrap().parent().unwrap(); |