diff options
author | kaa <[email protected]> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:28 +0300 |
commit | f49cf886c755668578b0214ab9eae8ecdc1395a8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/string/split_ut.cpp | |
parent | b99e8e1b6e3468f81111414c917adc2d334b2c3c (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/string/split_ut.cpp')
-rw-r--r-- | util/string/split_ut.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/split_ut.cpp b/util/string/split_ut.cpp index 02b00b95a9b..43e59f2d754 100644 --- a/util/string/split_ut.cpp +++ b/util/string/split_ut.cpp @@ -25,7 +25,7 @@ static inline void OldSplit(char* pszBuf, T* pRes) { template <class T1, class T2> inline void Cmp(const T1& t1, const T2& t2) { try { - UNIT_ASSERT_EQUAL(t1.size(), t2.size()); + UNIT_ASSERT_EQUAL(t1.size(), t2.size()); } catch (...) { Print(t1); Cerr << "---------------" << Endl; @@ -39,9 +39,9 @@ inline void Cmp(const T1& t1, const T2& t2) { for (; i != t1.end() && j != t2.end(); ++i, ++j) { try { - UNIT_ASSERT_EQUAL(*i, *j); + UNIT_ASSERT_EQUAL(*i, *j); } catch (...) { - Cerr << "(" << *i << ")->(" << *j << ")" << Endl; + Cerr << "(" << *i << ")->(" << *j << ")" << Endl; throw; } @@ -50,8 +50,8 @@ inline void Cmp(const T1& t1, const T2& t2) { template <class T> inline void Print(const T& t) { - for (typename T::const_iterator i = t.begin(); i != t.end(); ++i) { - Cerr << *i << Endl; + for (typename T::const_iterator i = t.begin(); i != t.end(); ++i) { + Cerr << *i << Endl; } } |