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 b02596b commit ee49d0aCopy full SHA for ee49d0a
libc/test/src/time/ctime_test.cpp
@@ -22,15 +22,15 @@ TEST(LlvmLibcCtime, ValidUnixTimestamp0) {
22
char *result;
23
t = 0;
24
result = LIBC_NAMESPACE::ctime(&t);
25
- ASSERT_STREQ("Thu Jan 1 01:00:00 1970\n", result);
+ ASSERT_STREQ("Thu Jan 1 00:00:00 1970\n", result);
26
}
27
28
TEST(LlvmLibcCtime, ValidUnixTimestamp32Int) {
29
time_t t;
30
31
t = 2147483647;
32
33
- ASSERT_STREQ("Tue Jan 19 04:14:07 2038\n", result);
+ ASSERT_STREQ("Tue Jan 19 03:14:07 2038\n", result);
34
35
36
TEST(LlvmLibcCtime, InvalidArgument) {
0 commit comments