1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-06-09 05:16:19 +02:00

tests/html.rs: fixed to new interface

This commit is contained in:
Elisabeth Henry 2016-02-24 15:05:46 +01:00
parent 7ace55d73a
commit 55e9458256

View File

@ -5,7 +5,7 @@ use test_helper::test_eq;
fn ast_to_html(v: &[Token]) -> String {
let mut book = Book::new();
book.set_option("numbering", "false").unwrap();
book.set_option("numbering", "0").unwrap();
let mut html = HtmlRenderer::new(&book);
html.render_vec(v)
}