Skip to content

Commit

Permalink
Update tests/pass-dep/libc/libc-time.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Jung <[email protected]>
  • Loading branch information
shamb0 and RalfJung authored Dec 11, 2024
1 parent 7d874af commit 9c7a493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pass-dep/libc/libc-time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn test_localtime_r_pst() {
target_os = "android"
))]
{
assert_eq!(tm.tm_gmtoff, -25200); // -7 hours in seconds
assert_eq!(tm.tm_gmtoff, -7 * 3600); // -7 hours in seconds
unsafe {
assert_eq!(std::ffi::CStr::from_ptr(tm.tm_zone).to_str().unwrap(), "-07");
}
Expand Down

0 comments on commit 9c7a493

Please sign in to comment.