From bbc31f6fbb57b4ff422b53a9b65fc2157cd1fc0e Mon Sep 17 00:00:00 2001 From: Stanislav Bohm Date: Thu, 1 Jul 2021 18:58:05 +0200 Subject: [PATCH] Test fixed --- src/worker/start.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/worker/start.rs b/src/worker/start.rs index ddf8f3774..879b2cea1 100644 --- a/src/worker/start.rs +++ b/src/worker/start.rs @@ -306,14 +306,14 @@ mod tests { "%{SUBMIT_DIR}", Some("%{SUBMIT_DIR}/out"), Some("%{SUBMIT_DIR}/err"), - "submit-dir", + "/submit-dir", 5, 1, ); replace_placeholders(&mut program); - assert_eq!(program.cwd, Some("submit-dir".into())); - assert_eq!(program.stdout, Some("submit-dir/out".into())); - assert_eq!(program.stderr, Some("submit-dir/err".into())); + assert_eq!(program.cwd, Some("/submit-dir".into())); + assert_eq!(program.stdout, Some("/submit-dir/out".into())); + assert_eq!(program.stderr, Some("/submit-dir/err".into())); } #[test]