summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/arg_rate_tests.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/arg_rate_tests.rs b/tests/arg_rate_tests.rs
index 85b3da0f..7f22431c 100644
--- a/tests/arg_rate_tests.rs
+++ b/tests/arg_rate_tests.rs
@@ -28,7 +28,9 @@ fn test_small_rate() -> Result<(), Box<dyn std::error::Error>> {
.arg("249")
.assert()
.failure()
- .stderr(predicate::str::contains("rate to be greater than 250"));
+ .stderr(predicate::str::contains(
+ "Please set your update rate to be at least 250 milliseconds.",
+ ));
Ok(())
}
@@ -40,7 +42,7 @@ fn test_large_rate() -> Result<(), Box<dyn std::error::Error>> {
.assert()
.failure()
.stderr(predicate::str::contains(
- "rate to be less than unsigned INT_MAX.",
+ "Please set your update rate to be at most unsigned INT_MAX.",
));
Ok(())
}