Skip to content

Commit 329f0e2

Browse files
committed
fix tests
1 parent a104234 commit 329f0e2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tidewave-core/src/acp_proxy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,6 +1891,7 @@ mod tests {
18911891
command: "test_cmd".to_string(),
18921892
env: HashMap::new(),
18931893
cwd: ".".to_string(),
1894+
is_wsl: false,
18941895
}
18951896
}
18961897

tidewave-core/src/server.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ mod tests {
749749
command: "sh".to_string(),
750750
cwd: None,
751751
env: None,
752+
is_wsl: false,
752753
};
753754

754755
let result = which_handler(Json(params)).await;
@@ -767,6 +768,7 @@ mod tests {
767768
command: "this_command_definitely_does_not_exist_12345".to_string(),
768769
cwd: None,
769770
env: None,
771+
is_wsl: false,
770772
};
771773

772774
let result = which_handler(Json(params)).await;
@@ -799,6 +801,7 @@ mod tests {
799801
command: executable_name.to_string(),
800802
cwd: None,
801803
env: None,
804+
is_wsl: false,
802805
};
803806

804807
let result_without_env = which_handler(Json(params_without_env)).await;
@@ -817,6 +820,7 @@ mod tests {
817820
command: executable_name.to_string(),
818821
cwd: Some(temp_dir.to_string_lossy().to_string()),
819822
env: Some(env),
823+
is_wsl: false,
820824
};
821825

822826
let result = which_handler(Json(params)).await;

0 commit comments

Comments
 (0)