From e43b231174b6ce89c4ab28bc1c2898785f6b42b6 Mon Sep 17 00:00:00 2001 From: titaneric Date: Thu, 15 Apr 2021 14:18:04 +0800 Subject: [PATCH] Update them_dir files in test --- src/theme/mod.rs | 2 ++ tests/init.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/theme/mod.rs b/src/theme/mod.rs index ef29cc48..de70b98b 100644 --- a/src/theme/mod.rs +++ b/src/theme/mod.rs @@ -227,6 +227,8 @@ mod tests { "highlight.css", "ayu-highlight.css", "clipboard.min.js", + "iframe.html", + "wasm-entry.mjs", ]; let temp = TempFileBuilder::new().prefix("mdbook-").tempdir().unwrap(); diff --git a/tests/init.rs b/tests/init.rs index 4deb8401..72fce0ee 100644 --- a/tests/init.rs +++ b/tests/init.rs @@ -123,7 +123,9 @@ fn copy_theme() { "favicon.svg", "highlight.css", "highlight.js", + "iframe.html", "index.hbs", + "wasm-entry.mjs", ]; let theme_dir = temp.path().join("theme"); let mut actual: Vec<_> = walkdir::WalkDir::new(&theme_dir)