Skip to content

Commit

Permalink
Test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
spirali committed Jul 1, 2021
1 parent a9b2574 commit bbc31f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/worker/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit bbc31f6

Please sign in to comment.