From c90c0f78488cdb86efad71f376cc8a945f28966f Mon Sep 17 00:00:00 2001 From: Michael Bryan Date: Sun, 9 Jul 2017 20:02:31 +0800 Subject: [PATCH] Updated the book testing to take into account #340 --- tests/integration_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index ca9b6c86..a92466eb 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -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]