Skip to content

Commit 9b12c51

Browse files
authored
Merge pull request #2676 from ehuss/booktest
Introduce new testsuite infrastructure
2 parents 12b4a96 + 084771b commit 9b12c51

File tree

195 files changed

+2902
-10601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+2902
-10601
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ guide/book
99
.vscode
1010
tests/dummy_book/book/
1111
test_book/book/
12+
tests/testsuite/*/*/book/
1213

1314
# Ignore Jetbrains specific files.
1415
.idea/

Cargo.lock

Lines changed: 93 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ elasticlunr-rs = { version = "3.0.2", optional = true }
6464
ammonia = { version = "4.0.0", optional = true }
6565

6666
[dev-dependencies]
67-
assert_cmd = "2.0.11"
68-
predicates = "3.0.3"
6967
select = "0.6.0"
7068
semver = "1.0.17"
69+
snapbox = { version = "0.6.21", features = ["diff", "dir", "term-svg", "regex", "json"] }
7170
pretty_assertions = "1.3.0"
7271
walkdir = "2.3.3"
7372

examples/nop-preprocessor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn main() {
2626
if let Some(sub_args) = matches.subcommand_matches("supports") {
2727
handle_supports(&preprocessor, sub_args);
2828
} else if let Err(e) = handle_preprocessing(&preprocessor) {
29-
eprintln!("{e}");
29+
eprintln!("{e:?}");
3030
process::exit(1);
3131
}
3232
}

0 commit comments

Comments
 (0)