Skip to content

Commit 0d97d2e

Browse files
committed
[libc] remove _Exit mentions from exit_test.cpp
Signed-off-by: Shreeyash Pandey <[email protected]>
1 parent 09a866c commit 0d97d2e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

libc/test/src/stdlib/exit_test.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
//===-- Unittests for _Exit -----------------------------------------------===//
1+
//===-- Unittests for exit -----------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "src/stdlib/_Exit.h"
109
#include "src/stdlib/exit.h"
1110
#include "test/UnitTest/Test.h"
1211

13-
TEST(LlvmLibcStdlib, _Exit) {
14-
EXPECT_EXITS([] { LIBC_NAMESPACE::_Exit(1); }, 1);
15-
EXPECT_EXITS([] { LIBC_NAMESPACE::_Exit(65); }, 65);
16-
12+
TEST(LlvmLibcStdlib, exit) {
1713
EXPECT_EXITS([] { LIBC_NAMESPACE::exit(1); }, 1);
1814
EXPECT_EXITS([] { LIBC_NAMESPACE::exit(65); }, 65);
1915
}

0 commit comments

Comments
 (0)