Updated the book testing to take into account #340

This commit is contained in:
Michael Bryan 2017-07-09 20:02:31 +08:00
parent cd11035a69
commit c90c0f7848
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ fn mdbook_can_correctly_test_a_passing_book() {
let temp = create_book(true);
let mut md = MDBook::new(temp.path());
assert!(md.test().is_ok());
assert!(md.test(vec![]).is_ok());
}
#[test]
@ -68,7 +68,7 @@ fn mdbook_detects_book_with_failing_tests() {
let temp = create_book(false);
let mut md: MDBook = MDBook::new(temp.path());
assert!(md.test().is_err());
assert!(md.test(vec![]).is_err());
}
#[test]