Update them_dir files in test
This commit is contained in:
parent
2c0b3f8c74
commit
e43b231174
|
@ -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();
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue