Skip to content

Commit ed5a962

Browse files
committed
Hopefully make test_prefix_rpath_abs work on win32
1 parent 831d861 commit ed5a962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/back/rpath.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ mod test {
227227
#[test]
228228
fn test_prefix_rpath_abs() {
229229
let res = get_install_prefix_rpath("/usr/lib", "triple");
230-
assert str::starts_with(res, "/");
230+
assert fs::path_is_absolute(res);
231231
}
232232

233233
#[test]

0 commit comments

Comments
 (0)