aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-06-16 16:59:56 +0200
committera-kenji <aks.kenji@protonmail.com>2021-06-16 17:09:05 +0200
commita9088264eb56f79d3f5d27b7806bdd1671654756 (patch)
tree2b230ad0c22b50459e08a9e6f52b74664af58aca /src/tests
parentdocs(changelog): improve layout errors (diff)
downloadsl0ppij-a9088264eb56f79d3f5d27b7806bdd1671654756.tar.gz
sl0ppij-a9088264eb56f79d3f5d27b7806bdd1671654756.tar.xz
sl0ppij-a9088264eb56f79d3f5d27b7806bdd1671654756.zip
Change `layout` directory from `data` to `config`
* default layouts won't be installed by anymore, instead they will be directly loaded * `layout-dir` is now a subdirectory of the `config-dir` by default, instead of the `data-dir` POSSIBLE BREAKING CHANGE: In case of having custom layouts in the previous `layout-dir` one can switch either the layouts to the new dir, or set the `layout-dir` to be the current `layout-dir` * it is possible to change the location of the `layout-dir`: - `zellij options --layout-dir [LAYOUR_DIR]` - `layout_dir: [LAYOUT_DIR]`
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/integration/layouts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/integration/layouts.rs b/src/tests/integration/layouts.rs
index 29f8beac..6b91ba04 100644
--- a/src/tests/integration/layouts.rs
+++ b/src/tests/integration/layouts.rs
@@ -32,7 +32,7 @@ pub fn accepts_basic_layout() {
let layout = zellij_utils::input::layout::Layout::from_path_or_default(
None,
opts.layout_path.as_ref(),
- std::path::Path::new("unused"),
+ Some(std::path::Path::new("unused").into()),
);
start(