Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ddurieux committed Jul 6, 2024
1 parent 8d97b24 commit 3b88233
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/module/localinventory/data/cpu/dmidecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ mod tests {
fn test_parse_amd_zen() {
#[cfg(target_os = "windows")]
let data: String = std::fs::read_to_string(r#"tests\localinventory\data\cpu\thinkpad_ddurieux.dat"#).unwrap();
#[cfg(target_os = "windows")]
println!("Windows data loaded: {:?}", data);

#[cfg(not(target_os = "windows"))]
let data: String = std::fs::read_to_string("tests/localinventory/data/cpu/thinkpad_ddurieux.dat").unwrap();
Expand Down

0 comments on commit 3b88233

Please sign in to comment.