//! Tests for print page. use crate::prelude::*; // Tests relative links from the print page. #[test] fn relative_links() { BookTest::from_dir("print/relative_links") .check_main_file("book/print.html", str![[r##"

First Chapter

First Nested

Testing relative links for the print page

When we link to the first section, it should work on both the print page and the non-print page.

A fragment link should work.

Link outside.

Some image

HTML Link

raw html

Some section

"##]]); }