diff options
author | ClementTsang <clementjhtsang@gmail.com> | 2019-10-20 01:13:25 -0400 |
---|---|---|
committer | ClementTsang <clementjhtsang@gmail.com> | 2019-10-20 01:13:25 -0400 |
commit | d1089cacf793cf5e7521b2bce758193694f1b0b3 (patch) | |
tree | f36aa0d18891ae3a59bd4474146b6e2477e691a0 | |
parent | 9222876543c4460ca1d6205f2a6f08fc46b2a2f0 (diff) |
Fix for broken tests
-rw-r--r-- | tests/arg_rate_tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/arg_rate_tests.rs b/tests/arg_rate_tests.rs index 6b5c88c9..60c58297 100644 --- a/tests/arg_rate_tests.rs +++ b/tests/arg_rate_tests.rs @@ -6,7 +6,7 @@ use std::process::Command; #[test] fn test_small_rate() -> Result<(), Box<dyn std::error::Error>> { - Command::new("./target/debug/bottom") + Command::new("./target/debug/btm") .arg("-r") .arg("249") .assert() @@ -17,7 +17,7 @@ fn test_small_rate() -> Result<(), Box<dyn std::error::Error>> { #[test] fn test_large_rate() -> Result<(), Box<dyn std::error::Error>> { - Command::new("./target/debug/bottom") + Command::new("./target/debug/btm") .arg("-r") .arg("18446744073709551616") .assert() @@ -29,7 +29,7 @@ fn test_large_rate() -> Result<(), Box<dyn std::error::Error>> { #[test] fn test_negative_rate() -> Result<(), Box<dyn std::error::Error>> { // This test should auto fail due to how clap works - Command::new("./target/debug/bottom") + Command::new("./target/debug/btm") .arg("-r") .arg("-1000") .assert() @@ -41,7 +41,7 @@ fn test_negative_rate() -> Result<(), Box<dyn std::error::Error>> { #[test] fn test_invalid_rate() -> Result<(), Box<dyn std::error::Error>> { - Command::new("./target/debug/bottom") + Command::new("./target/debug/btm") .arg("-r") .arg("100-1000") .assert() |