This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Warning: Pseudo-Rust Code | |
/// Some rough ideas how `assert_cli` could accept arbitrary assertions and possibly | |
/// support interactive commands. | |
/// | |
/// The current simple API could be implemented on top of this more general one. | |
Cmd::run("") | |
.with_timeout(Duration(...)) | |
.assert(StdOut::ends_with("Are you sure?")) // ::starts_with, ::eq, ::ne, ::contains |
OlderNewer