Skip to content

Commit

Permalink
Update x-pack/plugins/observability_solution/observability_ai_assista…
Browse files Browse the repository at this point in the history
…nt_app/server/functions/query/correct_common_esql_mistakes.test.ts

Co-authored-by: Søren Louv-Jansen <[email protected]>
  • Loading branch information
stratoula and sorenlouv authored Jul 4, 2024
1 parent 3c2fe19 commit 39068df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('correctCommonEsqlMistakes', () => {
);
});

it("replaces ` or ' escaping in FROM statements with backticks", () => {
it("replaces ` or ' escaping in FROM statements with double quotes", () => {
expectQuery(`FROM "logs-*" | LIMIT 10`, 'FROM "logs-*"\n| LIMIT 10');
expectQuery(`FROM 'logs-*' | LIMIT 10`, 'FROM "logs-*"\n| LIMIT 10');
expectQuery(`FROM logs-* | LIMIT 10`, 'FROM logs-*\n| LIMIT 10');
Expand Down

0 comments on commit 39068df

Please sign in to comment.