summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml4
-rw-r--r--TODO.md4
-rw-r--r--tests/arg_rate_tests.rs8
3 files changed, 7 insertions, 9 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2de34917..b20c39a4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,12 +28,10 @@ tokio = "0.2.0-alpha.4"
[dependencies.tui]
version = "0.6.2"
+git = "https://github.com/ClementTsang/tui-rs"
default-features = false
features = ['crossterm']
-[patch.crates-io]
-tui = {git = "https://github.com/ClementTsang/tui-rs"}
-
[dev-dependencies]
assert_cmd = "0.10"
predicates = "1"
diff --git a/TODO.md b/TODO.md
index 3752b7d9..4c030170 100644
--- a/TODO.md
+++ b/TODO.md
@@ -14,11 +14,11 @@ Note this will probably migrate to GitHub's native Issues; this was mostly for p
* ~~FIX PROCESSES AHHHHHH~~
-~~* Scrolling in at least processes~~
+* ~~Scrolling in at least processes~~
* Keybindings - I want to do at least arrow keys and dd.
-~~* Legend gets in the way at too small of a height... maybe modify tui a bit more to fix this.~~
+* ~~Legend gets in the way at too small of a height... maybe modify tui a bit more to fix this.~~
## After making public
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()