Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Commit de47b8a

Browse files
committed
Added to the readme
1 parent cad5af5 commit de47b8a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ this will show a nice, colorful diff in your terminal, like this:
4949
+42
5050
```
5151

52+
If you'd prefer to not check the output:
53+
54+
```rust
55+
#[macro_use] extern crate assert_cli;
56+
assert_cli::assert_cli("echo", &["42"]).unwrap();
57+
assert_cli!("echo", &["42"] => Success).unwrap();
58+
```
59+
5260
## License
5361

5462
Licensed under either of

0 commit comments

Comments
 (0)