summaryrefslogtreecommitdiff
path: root/rust-bindings/src/sysroot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust-bindings/src/sysroot.rs')
-rw-r--r--rust-bindings/src/sysroot.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust-bindings/src/sysroot.rs b/rust-bindings/src/sysroot.rs
index d7b2b767..ea8c3cb1 100644
--- a/rust-bindings/src/sysroot.rs
+++ b/rust-bindings/src/sysroot.rs
@@ -85,7 +85,7 @@ mod tests {
assert_eq!(sysroot.subbootversion(), 0);
sysroot.cleanup(gio::Cancellable::NONE).unwrap();
- sysroot.path().unwrap()
+ sysroot.path()
};
let path_loaded = {
let tmp_path = Some(tmpdir.path().to_path_buf());
@@ -100,7 +100,7 @@ mod tests {
assert_eq!(sysroot.subbootversion(), 0);
sysroot.cleanup(gio::Cancellable::NONE).unwrap();
- sysroot.path().unwrap()
+ sysroot.path()
};
assert_eq!(path_created.to_string(), path_loaded.to_string());
}