aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/net/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/net/fetch.rs')
-rw-r--r--tests/unit/net/fetch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/net/fetch.rs b/tests/unit/net/fetch.rs
index d570244c1be..c59be9349d3 100644
--- a/tests/unit/net/fetch.rs
+++ b/tests/unit/net/fetch.rs
@@ -157,7 +157,7 @@ fn test_fetch_data() {
#[test]
fn test_fetch_file() {
- let mut path = resources_dir_path();
+ let mut path = resources_dir_path().expect("Cannot find resource dir");
path.push("servo.css");
let url = Url::from_file_path(path.clone()).unwrap();