diff --git a/examples/remove-emphasis/test.rs b/examples/remove-emphasis/test.rs index 9b614163..1741712b 100644 --- a/examples/remove-emphasis/test.rs +++ b/examples/remove-emphasis/test.rs @@ -1,12 +1,10 @@ -use mdbook::MDBook; - #[test] fn remove_emphasis_works() { // Tests that the remove-emphasis example works as expected. // Workaround for https://github.com/rust-lang/mdBook/issues/1424 std::env::set_current_dir("examples/remove-emphasis").unwrap(); - let book = MDBook::load(".").unwrap(); + let book = mdbook::MDBook::load(".").unwrap(); book.build().unwrap(); let ch1 = std::fs::read_to_string("book/chapter_1.html").unwrap(); assert!(ch1.contains("This has light emphasis and bold emphasis."));