Expected include
to be processed before mdbook test
#855
Labels
A-Tests
Area: `mbdook test` related tests
What happened:
I'm experimenting with extracting code examples from TRPL into their own files for a variety of reasons. However, I'd like to retain the
mdbook test
functionality.I extracted an example that compiles and currently passes
mdbook test
into its own file in this commit.I then ran
mdbook test
, and got this error (mdbook --version
= v0.1.7):I just tried with mdbook 0.2.2 and got the same result. I'm using Rust 1.31.0.
What I expected to happen:
I expected the
#include
preprocessing to happen before running doctests so thatmdbook test
would have the same behavior as it did before I extracted the file. It looks like that's not happening because rustdoc is trying to compile{{#include
.The text was updated successfully, but these errors were encountered: