We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fbb419 commit b3b8883Copy full SHA for b3b8883
src/theme/mod.rs
@@ -163,7 +163,7 @@ mod tests {
163
#[test]
164
fn theme_dir_overrides_defaults() {
165
let temp = TempDir::new("mdbook").unwrap();
166
- ::std::fs::create_dir(temp.path().join("css"));
+ ::std::fs::create_dir(temp.path().join("css")).unwrap();
167
168
let files = [
169
"index.hbs",
@@ -181,7 +181,7 @@ mod tests {
181
"clipboard.min.js",
182
];
183
for file in &files {
184
- File::create(&temp.path().join(file));
+ File::create(&temp.path().join(file)).unwrap();
185
}
186
187
let got = Theme::new(temp.path());
0 commit comments