Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abatkin committed Sep 6, 2024
1 parent 4b823b2 commit 461ea7c
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 2 deletions.
6 changes: 6 additions & 0 deletions zellij-server/src/unit/screen_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2646,6 +2646,9 @@ pub fn send_cli_new_tab_action_default_params() {
layout: None,
layout_dir: None,
cwd: None,
run: None,
args: None,
edit: None,
};
send_cli_action_to_server(&session_metadata, new_tab_action, client_id);
std::thread::sleep(std::time::Duration::from_millis(100));
Expand Down Expand Up @@ -2686,6 +2689,9 @@ pub fn send_cli_new_tab_action_with_name_and_layout() {
))),
layout_dir: None,
cwd: None,
run: None,
args: None,
edit: None,
};
send_cli_action_to_server(&session_metadata, new_tab_action, client_id);
std::thread::sleep(std::time::Duration::from_millis(100));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
source: zellij-server/src/./unit/screen_tests.rs
assertion_line: 2292
assertion_line: 2677
expression: "format!(\"{:#?}\", new_tab_instruction)"
---
NewTab(
None,
Some(
".",
),
None,
Some(
TiledPaneLayout {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down Expand Up @@ -5211,6 +5213,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down Expand Up @@ -5211,6 +5213,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down Expand Up @@ -5211,6 +5213,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down Expand Up @@ -5211,6 +5213,8 @@ Config {
key_modifiers: {},
}: [
NewTab(
None,
None,
None,
[],
None,
Expand Down

0 comments on commit 461ea7c

Please sign in to comment.