Updated the book testing to take into account #340
This commit is contained in:
parent
cd11035a69
commit
c90c0f7848
|
@ -60,7 +60,7 @@ fn mdbook_can_correctly_test_a_passing_book() {
|
||||||
let temp = create_book(true);
|
let temp = create_book(true);
|
||||||
let mut md = MDBook::new(temp.path());
|
let mut md = MDBook::new(temp.path());
|
||||||
|
|
||||||
assert!(md.test().is_ok());
|
assert!(md.test(vec![]).is_ok());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -68,7 +68,7 @@ fn mdbook_detects_book_with_failing_tests() {
|
||||||
let temp = create_book(false);
|
let temp = create_book(false);
|
||||||
let mut md: MDBook = MDBook::new(temp.path());
|
let mut md: MDBook = MDBook::new(temp.path());
|
||||||
|
|
||||||
assert!(md.test().is_err());
|
assert!(md.test(vec![]).is_err());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue