We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee49d0a commit a516da3Copy full SHA for a516da3
libc/test/src/time/ctime_r_test.cpp
@@ -35,7 +35,7 @@ TEST(LlvmLibcCtimeR, ValidUnixTimestamp0) {
35
// 1970-01-01 00:00:00. Test with a valid buffer size.
36
t = 0;
37
result = LIBC_NAMESPACE::ctime_r(&t, buffer);
38
- ASSERT_STREQ("Thu Jan 1 02:00:00 1970\n", result);
+ ASSERT_STREQ("Thu Jan 1 00:00:00 1970\n", result);
39
}
40
41
TEST(LlvmLibcCtime, ValidUnixTimestamp32Int) {
@@ -45,7 +45,7 @@ TEST(LlvmLibcCtime, ValidUnixTimestamp32Int) {
45
// 2038-01-19 03:14:07. Test with a valid buffer size.
46
t = 2147483647;
47
48
- ASSERT_STREQ("Tue Jan 19 05:14:07 2038\n", result);
+ ASSERT_STREQ("Tue Jan 19 03:14:07 2038\n", result);
49
50
51
TEST(LlvmLibcCtimeR, InvalidArgument) {
0 commit comments