Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
WIP #60 fix test on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjabear committed Sep 28, 2016
1 parent a9e0017 commit 8dc72e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/factotum/executor/execution_strategy/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ use chrono::duration::Duration;
assert_eq!(result.return_code, 127);
assert!(result.run_started > UTC::now().checked_sub(Duration::seconds(60)).unwrap());
assert_eq!(result.duration.as_secs(), 0);
assert_eq!(result.stderr.unwrap(), "sh: 1: banana: not found");
let stderr = result.stderr.unwrap();
println!("{}", stderr);
assert!(stderr.contains("banana"));
assert!(stderr.contains("not found"));
assert_eq!(result.stdout, None);
assert_eq!(result.task_execution_error, None)
}
Expand Down

0 comments on commit 8dc72e6

Please sign in to comment.