1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-24 01:46:04 +02:00

Fix path config.book->guide.book

This commit is contained in:
Elisabeth Henry 2016-10-06 23:20:15 +02:00
parent ee55a1a71c
commit 421561549f

View File

@ -11,7 +11,7 @@ fn test_book() {
#[test]
fn book_example() {
let book = Book::new_from_file(&format!("{}/{}", env!("CARGO_MANIFEST_DIR"), "config.book"), InfoLevel::Error, &[]).unwrap();
let book = Book::new_from_file(&format!("{}/{}", env!("CARGO_MANIFEST_DIR"), "guide.book"), InfoLevel::Error, &[]).unwrap();
book.render_html(&mut io::sink()).unwrap();
book.render_tex(&mut io::sink()).unwrap();
}