summaryrefslogtreecommitdiffstats
path: root/util/string/split_ut.cpp
diff options
context:
space:
mode:
authoraxc <[email protected]>2022-02-10 16:47:35 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:35 +0300
commit1f5217043ad70f25dc35e75b3bd261a1e23d045e (patch)
tree11bf68c1fa5272d3d3446cbd5a0ff96ed9d75788 /util/string/split_ut.cpp
parent69505a07cbb096113e85aa02e7d136cac4aa826c (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/string/split_ut.cpp')
-rw-r--r--util/string/split_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/string/split_ut.cpp b/util/string/split_ut.cpp
index 43e59f2d754..1b7872af1bf 100644
--- a/util/string/split_ut.cpp
+++ b/util/string/split_ut.cpp
@@ -46,15 +46,15 @@ inline void Cmp(const T1& t1, const T2& t2) {
throw;
}
}
-}
-
+}
+
template <class T>
inline void Print(const T& t) {
for (typename T::const_iterator i = t.begin(); i != t.end(); ++i) {
Cerr << *i << Endl;
}
-}
-
+}
+
template <template <typename> class TConsumer, typename TResult, typename I, typename TDelimiter>
void TestDelimiterOnString(TResult& good, I* str, const TDelimiter& delim) {
TResult test;
@@ -62,8 +62,8 @@ void TestDelimiterOnString(TResult& good, I* str, const TDelimiter& delim) {
SplitString(str, delim, consumer);
Cmp(good, test);
UNIT_ASSERT_EQUAL(good, test);
-}
-
+}
+
template <template <typename> class TConsumer, typename TResult, typename I, typename TDelimiter>
void TestDelimiterOnRange(TResult& good, I* b, I* e, const TDelimiter& delim) {
TResult test;