Skip to content

Commit ee49d0a

Browse files
author
Зишан Мирза
committed
revert ctime tests
1 parent b02596b commit ee49d0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/test/src/time/ctime_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ TEST(LlvmLibcCtime, ValidUnixTimestamp0) {
2222
char *result;
2323
t = 0;
2424
result = LIBC_NAMESPACE::ctime(&t);
25-
ASSERT_STREQ("Thu Jan 1 01:00:00 1970\n", result);
25+
ASSERT_STREQ("Thu Jan 1 00:00:00 1970\n", result);
2626
}
2727

2828
TEST(LlvmLibcCtime, ValidUnixTimestamp32Int) {
2929
time_t t;
3030
char *result;
3131
t = 2147483647;
3232
result = LIBC_NAMESPACE::ctime(&t);
33-
ASSERT_STREQ("Tue Jan 19 04:14:07 2038\n", result);
33+
ASSERT_STREQ("Tue Jan 19 03:14:07 2038\n", result);
3434
}
3535

3636
TEST(LlvmLibcCtime, InvalidArgument) {

0 commit comments

Comments
 (0)