Fixed text issue.

This commit is contained in:
ClementTsang 2019-09-16 23:34:34 -04:00
parent 7b3c63c8e7
commit 231049c118
3 changed files with 7 additions and 9 deletions

View File

@ -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"

View File

@ -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

View File

@ -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()