Skip to content

Commit e57e463

Browse files
authored
Remove commented out code
1 parent 9e225cc commit e57e463

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

ut/utils_comparison.h

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,15 @@ ::testing::AssertionResult CompareRecursive(const Left & left, const Right & rig
214214
if constexpr (!is_string_v<Left> && !is_string_v<Right>
215215
&& (is_container_v<Left> || std::is_base_of_v<clickhouse::Column, std::decay_t<Left>>)
216216
&& (is_container_v<Right> || std::is_base_of_v<clickhouse::Column, std::decay_t<Right>>) ) {
217-
// if constexpr (std::is_same_v<Left, Column> && std::is_same_v<Right, Column>) {
218-
219-
// } else {
220-
const auto & l = maybeWrapColumnAsContainer(left);
221-
const auto & r = maybeWrapColumnAsContainer(right);
222-
223-
if (auto result = CompareCotainersRecursive(l, r))
224-
return result;
225-
else
226-
return result << "\nExpected container: " << PrintContainer{l}
227-
<< "\nActual container : " << PrintContainer{r};
228-
// }
217+
218+
const auto & l = maybeWrapColumnAsContainer(left);
219+
const auto & r = maybeWrapColumnAsContainer(right);
220+
221+
if (auto result = CompareCotainersRecursive(l, r))
222+
return result;
223+
else
224+
return result << "\nExpected container: " << PrintContainer{l}
225+
<< "\nActual container : " << PrintContainer{r};
229226
} else {
230227
if (left != right) {
231228

0 commit comments

Comments
 (0)