summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClementTsang <clementjhtsang@gmail.com>2019-09-16 23:34:34 -0400
committerClementTsang <clementjhtsang@gmail.com>2019-09-16 23:34:34 -0400
commit231049c118011e962f0234481a8e23dff06ece75 (patch)
treec41982bfd7fb0b74a429d4e85b4879372cdfab7b /tests
parent7b3c63c8e7fe01a3ff260695896f42d445652a3f (diff)
Fixed text issue.
Diffstat (limited to 'tests')
-rw-r--r--tests/arg_rate_tests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/arg_rate_tests.rs b/tests/arg_rate_tests.rs
index d2527123..6b5c88c9 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/rustop")
+ Command::new("./target/debug/bottom")
.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/rustop")
+ Command::new("./target/debug/bottom")
.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/rustop")
+ Command::new("./target/debug/bottom")
.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/rustop")
+ Command::new("./target/debug/bottom")
.arg("-r")
.arg("100-1000")
.assert()