Skip to content

Commit 36c7d14

Browse files
authored
[libc][test] Adjust header paths in tests (#119623)
Since `index_test.cpp` and `rindex_test.cpp` now reside in /strings, adjust some header paths accordingly. Link: #118899
1 parent 5eef9ba commit 36c7d14

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

libc/test/src/strings/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ add_libc_test(
2020
index_test.cpp
2121
DEPENDS
2222
libc.src.strings.index
23-
libc.test.src.strchr_test_support
23+
libc.test.src.string.strchr_test_support
2424
)
2525

2626
add_libc_test(
@@ -31,7 +31,7 @@ add_libc_test(
3131
rindex_test.cpp
3232
DEPENDS
3333
libc.src.strings.rindex
34-
libc.test.src.strchr_test_support
34+
libc.test.src.string.strchr_test_support
3535
)
3636

3737
add_libc_test(

libc/test/src/strings/index_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "StrchrTest.h"
9+
#include "test/src/string/StrchrTest.h"
1010

11-
#include "src/string/index.h"
11+
#include "src/strings/index.h"
1212
#include "test/UnitTest/Test.h"
1313

1414
STRCHR_TEST(Index, LIBC_NAMESPACE::index)

libc/test/src/strings/rindex_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "StrchrTest.h"
9+
#include "test/src/string/StrchrTest.h"
1010

11-
#include "src/string/rindex.h"
11+
#include "src/strings/rindex.h"
1212
#include "test/UnitTest/Test.h"
1313

1414
STRRCHR_TEST(Rindex, LIBC_NAMESPACE::rindex)

0 commit comments

Comments
 (0)