diff --git a/.vendor/linter b/.vendor/linter index 97c89b9..e4fab69 160000 --- a/.vendor/linter +++ b/.vendor/linter @@ -1 +1 @@ -Subproject commit 97c89b92cfa072be4661ffb6a7dc96f03e6d2bf8 +Subproject commit e4fab69e7f6256682f5b6b80e7a8f2423a0c39a9 diff --git a/sql/test_factory.sql b/sql/test_factory.sql index 38e2698..605c70b 100644 --- a/sql/test_factory.sql +++ b/sql/test_factory.sql @@ -246,8 +246,10 @@ BEGIN END $body$; ---select (tf.get('moo','moo')::moo).*; --- Restore the caller's role saved at the top of this script. +/* + * select (tf.get('moo','moo')::moo).*; + * Restore the caller's role saved at the top of this script. + */ DO $body$ BEGIN EXECUTE 'SET ROLE ' || pg_catalog.quote_ident(pg_catalog.current_setting('test_factory.original_role')); diff --git a/test/install/load.sql b/test/install/load.sql index 1ad130c..7ee0c8b 100644 --- a/test/install/load.sql +++ b/test/install/load.sql @@ -199,8 +199,10 @@ SELECT :'load_mode' = 'existing' AS is_existing CREATE SCHEMA IF NOT EXISTS tap; CREATE EXTENSION IF NOT EXISTS pgtap SCHEMA tap; - -- Captured before either branch below runs CREATE EXTENSION, so the - -- role-restore proof after \endif covers whichever one actually ran. + /* + * Captured before either branch below runs CREATE EXTENSION, so the + * role-restore proof after \endif covers whichever one actually ran. + */ SELECT current_user AS role_before_install \gset