Skip to content

Commit b3b8883

Browse files
committed
Fix test warnings
1 parent 3fbb419 commit b3b8883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ mod tests {
163163
#[test]
164164
fn theme_dir_overrides_defaults() {
165165
let temp = TempDir::new("mdbook").unwrap();
166-
::std::fs::create_dir(temp.path().join("css"));
166+
::std::fs::create_dir(temp.path().join("css")).unwrap();
167167

168168
let files = [
169169
"index.hbs",
@@ -181,7 +181,7 @@ mod tests {
181181
"clipboard.min.js",
182182
];
183183
for file in &files {
184-
File::create(&temp.path().join(file));
184+
File::create(&temp.path().join(file)).unwrap();
185185
}
186186

187187
let got = Theme::new(temp.path());

0 commit comments

Comments
 (0)