Skip to content

Commit 1a900b1

Browse files
SadiHassanlarryluogit
authored andcommitted
fix unit test
1 parent 2b37b3c commit 1a900b1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Parsers/tests/KQL/gtest_KQL_StringFunctions.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ INSTANTIATE_TEST_SUITE_P(ParserKQLQuery_String, ParserTest,
220220
},
221221
{
222222
"Customers | project name_abbr = strcat(substring(FirstName,0,3), ' ', substring(LastName,2))| order by LastName",
223-
"SELECT concat(if(toInt64(length(FirstName)) = 0, '', substr(FirstName, (((0 % toInt64(length(FirstName))) + toInt64(length(FirstName))) % toInt64(length(FirstName))) + 1, 3)), ' ', if(toInt64(length(LastName)) = 0, '', substr(LastName, (((2 % toInt64(length(LastName))) + toInt64(length(LastName))) % toInt64(length(LastName))) + 1))) AS name_abbr\nFROM Customers\nORDER BY LastName DESC"
223+
"SELECT concat(if(toInt64(length(FirstName)) <= 0, '', substr(FirstName, (((0 % toInt64(length(FirstName))) + toInt64(length(FirstName))) % toInt64(length(FirstName))) + 1, 3)), ' ', if(toInt64(length(LastName)) <= 0, '', substr(LastName, (((2 % toInt64(length(LastName))) + toInt64(length(LastName))) % toInt64(length(LastName))) + 1))) AS name_abbr\nFROM Customers\nORDER BY LastName DESC"
224224
}
225-
})));
226-
225+
})));

0 commit comments

Comments
 (0)