Skip to content

Commit da171bb

Browse files
committed
Fix test paths
1 parent 13153c7 commit da171bb

File tree

1 file changed

+3
-3
lines changed
  • crates/std_detect/src/detect/os/linux

1 file changed

+3
-3
lines changed

crates/std_detect/src/detect/os/linux/auxvec.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ mod tests {
215215
#[test]
216216
fn linux_rpi3() {
217217
let v = auxv_from_file(
218-
"../../std_detect/arch/detect/test_data/linux-rpi3.auxv",
218+
"../../std_detect/detect/test_data/linux-rpi3.auxv",
219219
).unwrap();
220220
assert_eq!(v.hwcap, 4174038);
221221
assert_eq!(v.hwcap2, 16);
@@ -225,7 +225,7 @@ mod tests {
225225
#[should_panic]
226226
fn linux_macos_vb() {
227227
let _ = auxv_from_file(
228-
"../../std_detect/arch/detect/test_data/macos-virtualbox-linux-x86-4850HQ.auxv"
228+
"../../std_detect/detect/test_data/macos-virtualbox-linux-x86-4850HQ.auxv"
229229
).unwrap();
230230
// this file is incomplete (contains hwcap but not hwcap2), we
231231
// want to fall back to /proc/cpuinfo in this case, so
@@ -236,7 +236,7 @@ mod tests {
236236
#[test]
237237
fn linux_x64() {
238238
let v = auxv_from_file(
239-
"../../std_detect/arch/detect/test_data/linux-x64-i7-6850k.auxv",
239+
"../../std_detect/detect/test_data/linux-x64-i7-6850k.auxv",
240240
).unwrap();
241241
assert_eq!(v.hwcap, 3219913727);
242242
}

0 commit comments

Comments
 (0)