Skip to content

Commit

Permalink
Improve grammar and wording
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Dec 1, 2023
1 parent 9815a46 commit fb60928
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/features/arrayLiterals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ export default function supportsArrayLiterals(format: FormatFn, cfg: ArrayLitera
it('supports ARRAY[] literals', () => {
expect(
format(
`SELECT ARRAY[1, 2, 3] FROM ARRAY['cammon', 'seriously', 'this', 'is', 'one', 'hello-of-a', 'damn', 'long', 'array'];`
`SELECT ARRAY[1, 2, 3] FROM ARRAY['come-on', 'seriously', 'this', 'is', 'a', 'very', 'very', 'long', 'array'];`
)
).toBe(dedent`
SELECT
ARRAY[1, 2, 3]
FROM
ARRAY[
'cammon',
'come-on',
'seriously',
'this',
'is',
'one',
'hello-of-a',
'damn',
'a',
'very',
'very',
'long',
'array'
];
Expand All @@ -37,20 +37,20 @@ export default function supportsArrayLiterals(format: FormatFn, cfg: ArrayLitera
it('supports array literals', () => {
expect(
format(
`SELECT [1, 2, 3] FROM ['cammon', 'seriously', 'this', 'is', 'one', 'hello-of-a', 'damn', 'long', 'array'];`
`SELECT [1, 2, 3] FROM ['come-on', 'seriously', 'this', 'is', 'a', 'very', 'very', 'long', 'array'];`
)
).toBe(dedent`
SELECT
[1, 2, 3]
FROM
[
'cammon',
'come-on',
'seriously',
'this',
'is',
'one',
'hello-of-a',
'damn',
'a',
'very',
'very',
'long',
'array'
];
Expand Down

0 comments on commit fb60928

Please sign in to comment.