Skip to content

Commit 8fb9d8b

Browse files
author
chenyunliang520
committed
Format ALTER FUNCTION owner changes with explicit parameter lists for better readability in test_range setup (follow-up to HuaweiCloudDeveloper#26)
1 parent a5561b9 commit 8fb9d8b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

tests/types/test_range.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,22 @@ def create_test_range(conn):
270270

271271
conn.execute(
272272
"""
273-
ALTER FUNCTION testschema.testrange(double precision, double precision) OWNER TO root;
274-
ALTER FUNCTION testschema.testrange(double precision, double precision, text) OWNER TO root;
273+
ALTER FUNCTION testschema.testrange(
274+
double precision,
275+
double precision
276+
)
277+
OWNER TO root;
278+
279+
ALTER FUNCTION testschema.testrange(
280+
double precision,
281+
double precision,
282+
text
283+
)
284+
OWNER TO root;
275285
276286
ALTER FUNCTION public.testrange(text, text, text) OWNER TO root;
277287
ALTER FUNCTION public.testrange(text, text) OWNER TO root;
278-
288+
279289
drop schema if exists testschema cascade;
280290
create schema testschema;
281291

0 commit comments

Comments
 (0)