Skip to content

Commit 0f69b91

Browse files
committed
format code with clang-format
1 parent 1e35fa9 commit 0f69b91

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

libc/test/src/time/localtime_r_test.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ TEST(LlvmLibcLocaltimeR, ValidUnixTimestamp0) {
3535
}
3636

3737
TEST(LlvmLibcLocaltime, NullPtr) {
38-
EXPECT_DEATH([] {
39-
LIBC_NAMESPACE::localtime_r(nullptr, nullptr);
40-
}, 4);
38+
EXPECT_DEATH([] { LIBC_NAMESPACE::localtime_r(nullptr, nullptr); }, 4);
4139
}
4240

4341
// TODO(zimirza): These tests does not expect the correct output of localtime as

libc/test/src/time/localtime_test.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ TEST(LlvmLibcLocaltime, ValidUnixTimestamp0) {
2525
}
2626

2727
TEST(LlvmLibcLocaltime, NullPtr) {
28-
EXPECT_DEATH([] {
29-
LIBC_NAMESPACE::localtime(nullptr);
30-
}, 4);
28+
EXPECT_DEATH([] { LIBC_NAMESPACE::localtime(nullptr); }, 4);
3129
}
3230

3331
// TODO(zimirza): These tests does not expect the correct output of localtime as

0 commit comments

Comments
 (0)