Skip to content

Commit fb60928

Browse files
committed
Improve grammar and wording
1 parent 9815a46 commit fb60928

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/features/arrayLiterals.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ export default function supportsArrayLiterals(format: FormatFn, cfg: ArrayLitera
1212
it('supports ARRAY[] literals', () => {
1313
expect(
1414
format(
15-
`SELECT ARRAY[1, 2, 3] FROM ARRAY['cammon', 'seriously', 'this', 'is', 'one', 'hello-of-a', 'damn', 'long', 'array'];`
15+
`SELECT ARRAY[1, 2, 3] FROM ARRAY['come-on', 'seriously', 'this', 'is', 'a', 'very', 'very', 'long', 'array'];`
1616
)
1717
).toBe(dedent`
1818
SELECT
1919
ARRAY[1, 2, 3]
2020
FROM
2121
ARRAY[
22-
'cammon',
22+
'come-on',
2323
'seriously',
2424
'this',
2525
'is',
26-
'one',
27-
'hello-of-a',
28-
'damn',
26+
'a',
27+
'very',
28+
'very',
2929
'long',
3030
'array'
3131
];
@@ -37,20 +37,20 @@ export default function supportsArrayLiterals(format: FormatFn, cfg: ArrayLitera
3737
it('supports array literals', () => {
3838
expect(
3939
format(
40-
`SELECT [1, 2, 3] FROM ['cammon', 'seriously', 'this', 'is', 'one', 'hello-of-a', 'damn', 'long', 'array'];`
40+
`SELECT [1, 2, 3] FROM ['come-on', 'seriously', 'this', 'is', 'a', 'very', 'very', 'long', 'array'];`
4141
)
4242
).toBe(dedent`
4343
SELECT
4444
[1, 2, 3]
4545
FROM
4646
[
47-
'cammon',
47+
'come-on',
4848
'seriously',
4949
'this',
5050
'is',
51-
'one',
52-
'hello-of-a',
53-
'damn',
51+
'a',
52+
'very',
53+
'very',
5454
'long',
5555
'array'
5656
];

0 commit comments

Comments
 (0)