diff --git a/tests/test_main.rs b/tests/test_main.rs index fa1912e..9adb995 100644 --- a/tests/test_main.rs +++ b/tests/test_main.rs @@ -40,3 +40,15 @@ fn dry_run() { .assert() .interrupted(); } + +#[test] +fn requeue_duration() { + let mut cmd = Command::cargo_bin("runo").unwrap(); + cmd.arg("--requeue-duration") + .arg("10") + .arg("--http-port") + .arg("0") + .timeout(std::time::Duration::from_secs(1)) + .assert() + .interrupted(); +}