Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: use a comment instead of an empty line (#2328)

rebelice5617d86cd728
diff --git a/plugin/advisor/pg/advisor_naming_foreign_key_convention_test.go b/plugin/advisor/pg/advisor_naming_foreign_key_convention_test.go
index 9f949bddc5..52a37b93cf 100644
--- a/plugin/advisor/pg/advisor_naming_foreign_key_convention_test.go
+++ b/plugin/advisor/pg/advisor_naming_foreign_key_convention_test.go
@@ -114,7 +114,7 @@ func TestNamingFKConvention(t *testing.T) {
},
},
{
- Statement: `
+ Statement: `-- this is the first line.
CREATE TABLE book(
id INT,
author_id INT CONSTRAINT fk_book_author_id REFERENCES author (id)
diff --git a/plugin/advisor/pg/advisor_naming_primary_key_convention_test.go b/plugin/advisor/pg/advisor_naming_primary_key_convention_test.go
index 99435deb13..4f36b6fc5e 100644
--- a/plugin/advisor/pg/advisor_naming_primary_key_convention_test.go
+++ b/plugin/advisor/pg/advisor_naming_primary_key_convention_test.go
@@ -69,7 +69,7 @@ func TestNamingPKConvention(t *testing.T) {
},
},
{
- Statement: `
+ Statement: `-- this is the first line.
CREATE TABLE tech_book(
id INT,
name VARCHAR(20),
diff --git a/plugin/advisor/pg/advisor_naming_unique_key_convention_test.go b/plugin/advisor/pg/advisor_naming_unique_key_convention_test.go
index d1b82c08d8..4de4073fea 100644
--- a/plugin/advisor/pg/advisor_naming_unique_key_convention_test.go
+++ b/plugin/advisor/pg/advisor_naming_unique_key_convention_test.go
@@ -92,7 +92,7 @@ func TestNamingUKConvention(t *testing.T) {
},
},
{
- Statement: `
+ Statement: `-- this is the first line.
CREATE TABLE tech_book(
id INT PRIMARY KEY,
name VARCHAR(20),