andersonpgrep 0.1.0

a tool to grep lines from a file
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

#[test]
fn should_find_one() {
    let query = "\
    Rust:
    safe, fast and productive.
    Pick three
    ";
    assert_eq!(vec!["safe, fast, productive."], search(query, contents));
}