forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-37294: [C++] Use std::string for HasSubstr matcher (apache#3…
…7314) ### Rationale for this change Apparently not all versions of GTest/GMock handle `testing::HasSubstr` against a `std::string_view`. ### What changes are included in this PR? Explicitly wrap in `std::string`. ### Are these changes tested? They are the tests. ### Are there any user-facing changes? No. * Closes: apache#37294 Authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information
1 parent
273c4a8
commit 4fbc102
Showing
2 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters