Skip to content

Commit 1a3dac6

Browse files
peterenescufacebook-github-bot
authored andcommitted
fix(array): Update to unit test due to release failure
Summary: Fix for gcc unit test failure ArrayHasDuplicatesTest.json Differential Revision: D68734685
1 parent dfe7d1a commit 1a3dac6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

velox/functions/prestosql/tests/ArrayHasDuplicatesTest.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ TEST_F(ArrayHasDuplicatesTest, json) {
157157
result = evaluate(
158158
"array_has_duplicates(C0)",
159159
makeRowVector({makeNullableArrayVector<StringView>(
160-
{{R"({"key":"value"})", R"({"key":"another_value"})"},
161-
{R"({"key":"value"})"},
160+
{{R"({"key":"value"})"},
162161
{R"({"key":"same_value"})",
163162
R"({"key":"another_value"})",
164163
R"({"key":"same_value"})"},
@@ -182,6 +181,6 @@ TEST_F(ArrayHasDuplicatesTest, json) {
182181
ARRAY(JSON()))}));
183182
assertEqualVectors(
184183
makeFlatVector<bool>(
185-
{false, false, true, true, false, true, true, true, true, true}),
184+
{false, true, true, false, true, true, true, true, true}),
186185
result);
187186
}

0 commit comments

Comments
 (0)