summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/input/unit/layout_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-utils/src/input/unit/layout_test.rs')
-rw-r--r--zellij-utils/src/input/unit/layout_test.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/zellij-utils/src/input/unit/layout_test.rs b/zellij-utils/src/input/unit/layout_test.rs
index 808d38465..e2d91c173 100644
--- a/zellij-utils/src/input/unit/layout_test.rs
+++ b/zellij-utils/src/input/unit/layout_test.rs
@@ -2085,6 +2085,9 @@ fn run_plugin_location_parsing() {
pane {
plugin location="filepicker"
}
+ pane {
+ plugin location="https://example.com/plugin.wasm"
+ }
}
"#;
let layout = Layout::from_kdl(kdl_layout, "layout_file_name".into(), None, None).unwrap();
@@ -2162,6 +2165,17 @@ fn run_plugin_location_parsing() {
}))),
..Default::default()
},
+ TiledPaneLayout {
+ run: Some(Run::Plugin(RunPluginOrAlias::RunPlugin(RunPlugin {
+ _allow_exec_host_cmd: false,
+ location: RunPluginLocation::Remote(String::from(
+ "https://example.com/plugin.wasm",
+ )),
+ configuration: Default::default(),
+ ..Default::default()
+ }))),
+ ..Default::default()
+ },
],
..Default::default()
},