Update them_dir files in test

This commit is contained in:
titaneric 2021-04-15 14:18:04 +08:00
parent 2c0b3f8c74
commit e43b231174
2 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,8 @@ mod tests {
"highlight.css", "highlight.css",
"ayu-highlight.css", "ayu-highlight.css",
"clipboard.min.js", "clipboard.min.js",
"iframe.html",
"wasm-entry.mjs",
]; ];
let temp = TempFileBuilder::new().prefix("mdbook-").tempdir().unwrap(); let temp = TempFileBuilder::new().prefix("mdbook-").tempdir().unwrap();

View File

@ -123,7 +123,9 @@ fn copy_theme() {
"favicon.svg", "favicon.svg",
"highlight.css", "highlight.css",
"highlight.js", "highlight.js",
"iframe.html",
"index.hbs", "index.hbs",
"wasm-entry.mjs",
]; ];
let theme_dir = temp.path().join("theme"); let theme_dir = temp.path().join("theme");
let mut actual: Vec<_> = walkdir::WalkDir::new(&theme_dir) let mut actual: Vec<_> = walkdir::WalkDir::new(&theme_dir)