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:
parent
7ace55d73a
commit
55e9458256
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue