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 | b99e8e1b6e3468f81111414c917adc2d334b2c3c (patch) | |
tree | 15f9f7cb2949ddab5a853046041062fc9c01fafb /util/string/split_ut.cpp | |
parent | 27222438aa0c42e5d9f8323344ee0cf8909491c3 (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.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/split_ut.cpp b/util/string/split_ut.cpp index 43e59f2d754..02b00b95a9b 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; } } |