From 0697d9dd565f1887ee3922ac0b3bc6b61ff8a3bb Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Thu, 20 Feb 2020 23:10:52 -0500 Subject: Fix issue with default file paths not being respected; updated default file paths. --- tests/arg_rate_tests.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/arg_rate_tests.rs b/tests/arg_rate_tests.rs index a32e1b76..206dbf50 100644 --- a/tests/arg_rate_tests.rs +++ b/tests/arg_rate_tests.rs @@ -4,6 +4,8 @@ use std::process::Command; // These tests are mostly here just to ensure that invalid results will be caught when passing arguments... +// TODO: [TEST] Allow for release testing. + //======================RATES======================// fn get_os_binary_loc() -> String { @@ -36,7 +38,9 @@ fn test_large_rate() -> Result<(), Box> { .arg("18446744073709551616") .assert() .failure() - .stderr(predicate::str::contains("rate to be less than unsigned INT_MAX.")); + .stderr(predicate::str::contains( + "rate to be less than unsigned INT_MAX.", + )); Ok(()) } @@ -48,7 +52,9 @@ fn test_negative_rate() -> Result<(), Box> { .arg("-1000") .assert() .failure() - .stderr(predicate::str::contains("wasn't expected, or isn't valid in this context")); + .stderr(predicate::str::contains( + "wasn't expected, or isn't valid in this context", + )); Ok(()) } -- cgit v1.2.3