Skip to content

Commit

Permalink
fix test arguments order
Browse files Browse the repository at this point in the history
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
  • Loading branch information
YangKeao committed Jul 3, 2022
1 parent dfff46b commit 4f11229
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dbms/src/Functions/tests/gtest_strings_hexint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ try
const String & func_name = "hexInt";

ASSERT_COLUMN_EQ(
createColumn<Nullable<UInt64>>({std::nullopt, 12345, 0xFFFFFFFFFFFFFFFF}),
createColumn<Nullable<String>>({std::nullopt, "3039", "FFFFFFFFFFFFFFFF"}),
executeFunction(
func_name,
createColumn<Nullable<String>>({std::nullopt, "3039", "FFFFFFFFFFFFFFFF"})));
createColumn<Nullable<UInt64>>({std::nullopt, 12345, 0xFFFFFFFFFFFFFFFF})));

ASSERT_COLUMN_EQ(
createColumn<Nullable<Int64>>({12345, -12345}),
createColumn<Nullable<String>>({"3039", "FFFFFFFFFFFFCFC7"}),
executeFunction(
func_name,
createColumn<Nullable<String>>({"3039", "FFFFFFFFFFFFCFC7"})));
createColumn<Nullable<Int64>>({12345, -12345})));

ASSERT_COLUMN_EQ(
createColumn<Nullable<Int8>>({255, 1}),
createColumn<Nullable<String>>({"FF", "1"}),
executeFunction(
func_name,
createColumn<Nullable<String>>({"FF", "1"})));
createColumn<Nullable<UInt8>>({255, 1})));
}
CATCH
} // namespace tests
Expand Down

0 comments on commit 4f11229

Please sign in to comment.