d319d8f642
This checks that we render the example book correctly. In order to do that, we put a known-good copy of the book under tests/book, and then in tests/smoke.rs, we generate a copy of it, and then diff the two directories. This means that PRs that change the generated output will need to update this fixture, but it also means we get to see an easy way of what they actually update. Part of #11
7 lines
146 B
Rust
7 lines
146 B
Rust
fn main() {
|
|
println!("Hello World!");
|
|
#
|
|
# // You can even hide lines! :D
|
|
# println!("I am hidden! Expand the code snippet to see me");
|
|
}
|