HaHaJeff commented on code in PR #224:
URL: https://github.com/apache/paimon-cpp/pull/224#discussion_r3878647412
##########
test/inte/realtime_write_inte_test.cpp:
##########
@@ -71,6 +81,592 @@
#include "paimon/write_context.h"
namespace paimon::test {
+namespace {
+
+bool HasSuffix(const std::string& value, const std::string& suffix) {
+ return value.size() >= suffix.size() &&
+ value.compare(value.size() - suffix.size(), suffix.size(), suffix)
== 0;
Review Comment:
Removed the local `HasSuffix` helper and its only caller in
`813c6444e39dba4076018a34126a3e3b3dfc176c` while trimming the
fault-injection-only test support. There is no remaining manual prefix or
suffix check to replace with `StringUtils` now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]