expectorate 1.3.0

Library for comparing output to file contents with simple updating
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2020 Oxide Computer Company

use expectorate::assert_contents;

fn main() {
    let actual = compose();
    assert_contents("examples/lyrics.txt", actual);
}

fn compose() -> &'static str {
    "In a testing match nobody tests like Gaston\nI'm especially good at \
     expectorating\n"
}