Skip to content

Commit 8ad0244

Browse files
committed
Update overssh require-escaping-arguments test to contain a space.
Signed-off-by: Aalekh Patel <[email protected]>
1 parent f61ef2a commit 8ad0244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/openssh.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,11 @@ async fn over_session_ok() {
323323
async fn over_session_ok_require_escaping_arguments() {
324324
for session in connects().await {
325325
let mut command = std::process::Command::new("echo")
326-
.arg("\"\'\'foo\'\'\"")
326+
.arg("\"\'\' foo \'\'\"")
327327
.over_ssh(&session).expect("No env vars or current working dir is set.");
328328

329329
let child = command.output().await.unwrap();
330-
assert_eq!(child.stdout, b"\"\'\'foo\'\'\"\n");
330+
assert_eq!(child.stdout, b"\"\'\' foo \'\'\"\n");
331331

332332
let child = session
333333
.command("echo")

0 commit comments

Comments
 (0)