Skip to content

Commit

Permalink
windows only test
Browse files Browse the repository at this point in the history
  • Loading branch information
dilawar committed Oct 6, 2024
1 parent f5566d6 commit ba68fdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ mod tests {
use super::*;

/// open registry key for editing or reading.
#[cfg(windows)]
fn hklm_open_subkey(subkey: &str) -> anyhow::Result<winreg::RegKey> {
let hklm = winreg::RegKey::predef(winreg::enums::HKEY_LOCAL_MACHINE);
Ok(hklm.open_subkey(subkey)?)
Expand Down

0 comments on commit ba68fdb

Please sign in to comment.