bard 2.0.1

Creates PDF and HTML songbooks out of easy-to-write Markdown sources.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod util_ng;
pub use util_ng::*;

#[test]
fn project_nonexistent_file() {
    let build = TestProject::new("nonexistent-file")
        .settings(|toml| toml.set("songs", vec!["no-such-file.md"]))
        .build()
        .unwrap();
    let err = build.unwrap_err();

    let cause = format!("{}", err.root_cause());
    cause.find("no-such-file.md").unwrap();
}