Skip to content

Commit

Permalink
Update not_dll tests
Browse files Browse the repository at this point in the history
  • Loading branch information
riverar committed Nov 16, 2024
1 parent 8a95f59 commit e32e9a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/tests/misc/not_dll/tests/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ use windows_sys::Win32::Graphics::Printing::*;
#[test]
fn test() {
unsafe {
GetSpoolFileHandle(core::ptr::null_mut());
_ = GetSpoolFileHandle(PRINTER_HANDLE { Value: std::ptr::null_mut() });
}
}
2 changes: 1 addition & 1 deletion crates/tests/misc/not_dll/tests/win.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ use windows::Win32::Graphics::Printing::*;
#[test]
fn test() {
unsafe {
_ = GetSpoolFileHandle(None);
_ = GetSpoolFileHandle(PRINTER_HANDLE::default());
}
}

0 comments on commit e32e9a3

Please sign in to comment.