Skip to content

Commit 643afe4

Browse files
Update DynamicLibraryManagerTest.cpp
1 parent 40ad1ec commit 643afe4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unittests/CppInterOp/DynamicLibraryManagerTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ TEST(DynamicLibraryManagerTest, Sanity) {
5252
// adds an additional underscore (_) prefix to the lowered names. Figure out
5353
// how to harmonize that API.
5454
std::string PathToTestSharedLib =
55-
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_zero").c_str(), /*system_search=*/false);
55+
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_zero").c_str(), /*search_system=*/false);
5656
EXPECT_STRNE("", PathToTestSharedLib.c_str())
5757
<< "Cannot find: '" << PathToTestSharedLib << "' in '" << Dir.str() << "'";
5858
EXPECT_TRUE(Cpp::LoadLibrary(PathToTestSharedLib.c_str()));
@@ -88,7 +88,7 @@ TEST(DynamicLibraryManagerTest, LibrariesAutoload) {
8888
// how to harmonize that API. For now we use out minimal implementation of
8989
// helper function.
9090
std::string PathToTestSharedLib1 =
91-
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_one").c_str(), /*system_search=*/false);
91+
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_one").c_str(), /*search_system=*/false);
9292
// If result is "" then we cannot find this library.
9393
EXPECT_STRNE("", PathToTestSharedLib1.c_str())
9494
<< "Cannot find: '" << PathToTestSharedLib1 << "' in '" << Dir.str() << "'";
@@ -133,7 +133,7 @@ TEST(DynamicLibraryManagerTest, LibrariesAutoload) {
133133

134134
// Find library with "ret_1" symbol defined and exported
135135
std::string PathToTestSharedLib2 =
136-
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_1").c_str(), /*system_search=*/false);
136+
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_1").c_str(), /*search_system=*/false);
137137
// If result is "" then we cannot find this library.
138138
EXPECT_STRNE("", PathToTestSharedLib2.c_str())
139139
<< "Cannot find: '" << PathToTestSharedLib2 << "' in '" << Dir.str() << "'";
@@ -175,7 +175,7 @@ TEST(DynamicLibraryManagerTest, LibrariesAutoloadExtraCoverage) {
175175
// } else {
176176
// Find library with "ret_value" symbol defined and exported
177177
std::string PathToTestSharedLib3 =
178-
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_val").c_str(), /*system_search=*/false);
178+
Cpp::SearchLibrariesForSymbol(MangleNameForDlsym("ret_val").c_str(), /*search_system=*/false);
179179
// If result is "" then we cannot find this library.
180180
EXPECT_STRNE("", PathToTestSharedLib3.c_str())
181181
<< "Cannot find: '" << PathToTestSharedLib3 << "' in '" << Dir.str() << "'";

0 commit comments

Comments
 (0)