aboutsummaryrefslogtreecommitdiff
path: root/tests/api_ping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/api_ping.rs')
-rw-r--r--tests/api_ping.rs39
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/api_ping.rs b/tests/api_ping.rs
index a31a5866..f63b93dd 100644
--- a/tests/api_ping.rs
+++ b/tests/api_ping.rs
@@ -740,10 +740,6 @@ fn pane_info_reports_foreground_cwd_without_changing_pane_cwd() {
.as_str()
.unwrap()
.to_string();
- let workspace_id = created["result"]["workspace"]["workspace_id"]
- .as_str()
- .unwrap()
- .to_string();
let command = format!(
"/bin/sh -c 'cd {} && printf %s $$ > {} && touch {} && sleep 30; :'",
foreground.display(),
@@ -872,41 +868,6 @@ fn pane_info_reports_foreground_cwd_without_changing_pane_cwd() {
foreground.display().to_string()
);
- let tab = send_request(
- &socket_path,
- &serde_json::json!({
- "id": "fg_tab",
- "method": "tab.create",
- "params": {
- "workspace_id": workspace_id,
- "focus": false,
- },
- })
- .to_string(),
- );
- assert_eq!(
- tab["result"]["root_pane"]["cwd"],
- foreground.display().to_string()
- );
-
- let explicit_tab = send_request(
- &socket_path,
- &serde_json::json!({
- "id": "fg_explicit_tab",
- "method": "tab.create",
- "params": {
- "workspace_id": workspace_id,
- "cwd": base,
- "focus": false,
- },
- })
- .to_string(),
- );
- assert_eq!(
- explicit_tab["result"]["root_pane"]["cwd"],
- base.display().to_string()
- );
-
cleanup_spawned_herdr(child, base);
}