Skip to content

Commit 4b07e45

Browse files
committed
Remove unnecessary "." operator test
This is covered elsewhere already.
1 parent 62c5361 commit 4b07e45

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

test/singlestoredb.test.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,8 @@ describe('SingleStoreDbFormatter', () => {
4848
modify: true,
4949
renameTo: true,
5050
});
51+
5152
describe(`formats traversal of semi structured data`, () => {
52-
it(`formats '.' path-operator without spaces`, () => {
53-
expect(format(`SELECT TO_JSON(foo.*) AS foo_json FROM foo`)).toBe(dedent`
54-
SELECT
55-
TO_JSON(foo.*) AS foo_json
56-
FROM
57-
foo
58-
`);
59-
});
6053
it(`formats '::' path-operator without spaces`, () => {
6154
expect(format(`SELECT * FROM foo WHERE json_foo::bar = 'foobar'`)).toBe(dedent`
6255
SELECT
@@ -88,13 +81,14 @@ describe('SingleStoreDbFormatter', () => {
8881
`);
8982
});
9083
});
84+
9185
describe(`formats custom type-cast operators`, () => {
9286
it(`formats ':>' type-cast operator`, () => {
9387
expect(format(`SELECT 1 :> DOUBLE AS foo`)).toBe(dedent`
9488
SELECT
9589
1 :> DOUBLE AS foo
9690
`);
97-
});
91+
});
9892
it(`formats '!:>' type-cast operator`, () => {
9993
expect(format(`SELECT 1 !:> DOUBLE AS foo`)).toBe(dedent`
10094
SELECT

0 commit comments

Comments
 (0)