Feat(cli): Finished all functionalities

- passed all tests
This commit is contained in:
2023-09-02 02:31:11 -04:00
parent d401122b30
commit 3402ac506f
8 changed files with 336 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ fn usage() -> TestResult {
Command::cargo_bin(PRG)?
.arg(flag)
.assert()
.stdout(predicate::str::contains("USAGE"));
.stdout(predicate::str::contains("Usage"));
}
Ok(())
}

View File

@@ -1,13 +1,13 @@
1 The quick brown fox jumps over the lazy dog.
1 Don't worry, spiders,
2 I keep house
3 casually.
1 The bustle in a house
2 The morning after death
3 Is solemnest of industries
4 Enacted upon earth,—
2 Don't worry, spiders,
3 I keep house
4 casually.
5 The bustle in a house
6 The morning after death
7 Is solemnest of industries
8 Enacted upon earth,—
5 The sweeping up the heart,
6 And putting love away
7 We shall not want to use again
8 Until eternity.
9 The sweeping up the heart,
10 And putting love away
11 We shall not want to use again
12 Until eternity.

View File

@@ -1,13 +1,13 @@
1 The quick brown fox jumps over the lazy dog.
1 Don't worry, spiders,
2 I keep house
3 casually.
1 The bustle in a house
2 The morning after death
3 Is solemnest of industries
4 Enacted upon earth,—
5
6 The sweeping up the heart,
7 And putting love away
8 We shall not want to use again
9 Until eternity.
2 Don't worry, spiders,
3 I keep house
4 casually.
5 The bustle in a house
6 The morning after death
7 Is solemnest of industries
8 Enacted upon earth,—
9
10 The sweeping up the heart,
11 And putting love away
12 We shall not want to use again
13 Until eternity.