diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-07-04 15:20:47 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-07-06 21:32:43 +0530 |
| commit | 82288c6a3d4a1347016fd7a5bd83fdbcbe9fcc1d (patch) | |
| tree | ee6bdf3b0894662b1816097f6fee173b4eac1af2 /zellij-utils | |
| parent | docs(changelog): kill children properly (diff) | |
| download | sl0ppij-82288c6a3d4a1347016fd7a5bd83fdbcbe9fcc1d.tar.gz sl0ppij-82288c6a3d4a1347016fd7a5bd83fdbcbe9fcc1d.tar.xz sl0ppij-82288c6a3d4a1347016fd7a5bd83fdbcbe9fcc1d.zip | |
Remove test feature and hacks
Diffstat (limited to 'zellij-utils')
| -rw-r--r-- | zellij-utils/Cargo.toml | 2 | ||||
| -rw-r--r-- | zellij-utils/src/setup.rs | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/zellij-utils/Cargo.toml b/zellij-utils/Cargo.toml index a15be803..6b530ee9 100644 --- a/zellij-utils/Cargo.toml +++ b/zellij-utils/Cargo.toml @@ -36,5 +36,3 @@ features = ["unstable"] [dev-dependencies] tempfile = "3.2.0" -[features] -test = [] diff --git a/zellij-utils/src/setup.rs b/zellij-utils/src/setup.rs index c46876ec..c25e1fb9 100644 --- a/zellij-utils/src/setup.rs +++ b/zellij-utils/src/setup.rs @@ -12,7 +12,6 @@ const CONFIG_LOCATION: &str = ".config/zellij"; const CONFIG_NAME: &str = "config.yaml"; static ARROW_SEPARATOR: &str = ""; -#[cfg(not(any(feature = "test", test)))] /// Goes through a predefined list and checks for an already /// existing config directory, returns the first match pub fn find_default_config_dir() -> Option<PathBuf> { @@ -23,11 +22,6 @@ pub fn find_default_config_dir() -> Option<PathBuf> { .flatten() } -#[cfg(any(feature = "test", test))] -pub fn find_default_config_dir() -> Option<PathBuf> { - None -} - /// Order in which config directories are checked fn default_config_dirs() -> Vec<Option<PathBuf>> { vec