(
outputs: Vec<Result<CommandOutput, ChangeSourceError>>,
limit: usize,
)
| 261 | } |
| 262 | |
| 263 | fn source( |
| 264 | outputs: Vec<Result<CommandOutput, ChangeSourceError>>, |
| 265 | limit: usize, |
| 266 | ) -> FsmonitorChangeSource { |
| 267 | FsmonitorChangeSource::with_runner( |
| 268 | Arc::new(FakeRunner(Mutex::new(outputs.into()))), |
| 269 | Duration::from_secs(1), |
| 270 | limit, |
| 271 | ) |
| 272 | } |
| 273 | |
| 274 | #[test] |
| 275 | fn implements_canonical_candidate_contract() { |