textum 0.4.0

A syntactic patching library with char-level granularity
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(missing_docs)]
#[cfg(feature = "cli")]
use assert_cmd::cargo_bin_cmd;
#[cfg(feature = "cli")]
use predicates::prelude::*;

#[cfg(feature = "cli")]
#[test]
fn cli_help_succeeds() {
    cargo_bin_cmd!("textum")
        .arg("--help")
        .assert()
        .success()
        .stdout(predicate::str::contains("Usage"));
}