Skip to content

Commit 9c7a493

Browse files
shamb0RalfJung
andauthored
Update tests/pass-dep/libc/libc-time.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 7d874af commit 9c7a493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pass-dep/libc/libc-time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ fn test_localtime_r_pst() {
148148
target_os = "android"
149149
))]
150150
{
151-
assert_eq!(tm.tm_gmtoff, -25200); // -7 hours in seconds
151+
assert_eq!(tm.tm_gmtoff, -7 * 3600); // -7 hours in seconds
152152
unsafe {
153153
assert_eq!(std::ffi::CStr::from_ptr(tm.tm_zone).to_str().unwrap(), "-07");
154154
}

0 commit comments

Comments
 (0)