diff options
author | Camelid <37223377+camelid@users.noreply.github.com> | 2020-09-22 18:16:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 03:16:09 +0200 |
commit | b77942d3c8e2d62648536b317e426b5ef404d9bf (patch) | |
tree | 20e6b3f5cb990fb0b5cff10a038e662a1435b9c0 /src | |
parent | d0deee90b04068ed949f524bb682a47fa26f2218 (diff) |
Rename `book-example` to `guide` (#1336)
`book-example` is a bit of a strange name given that it's not just an
example.
Diffstat (limited to 'src')
-rw-r--r-- | src/preprocess/cmd.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/preprocess/cmd.rs b/src/preprocess/cmd.rs index 625c143b..f9c64e28 100644 --- a/src/preprocess/cmd.rs +++ b/src/preprocess/cmd.rs @@ -171,15 +171,15 @@ mod tests { use crate::MDBook; use std::path::Path; - fn book_example() -> MDBook { - let example = Path::new(env!("CARGO_MANIFEST_DIR")).join("book-example"); + fn guide() -> MDBook { + let example = Path::new(env!("CARGO_MANIFEST_DIR")).join("guide"); MDBook::load(example).unwrap() } #[test] fn round_trip_write_and_parse_input() { let cmd = CmdPreprocessor::new("test".to_string(), "test".to_string()); - let md = book_example(); + let md = guide(); let ctx = PreprocessorContext::new( md.root.clone(), md.config.clone(), |