Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos at test cases #265

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions internal/sources/mysql/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestParseFromYamlCloudSQLMySQL(t *testing.T) {
my-mysql-instance:
kind: mysql
host: 0.0.0.0
port: my-host
port: my-port
database: my_db
user: my_user
password: my_pass
Expand All @@ -47,7 +47,7 @@ func TestParseFromYamlCloudSQLMySQL(t *testing.T) {
Name: "my-mysql-instance",
Kind: mysql.SourceKind,
Host: "0.0.0.0",
Port: "my-host",
Port: "my-port",
Database: "my_db",
User: "my_user",
Password: "my_pass",
Expand Down Expand Up @@ -86,7 +86,7 @@ func TestFailParseFromYaml(t *testing.T) {
my-mysql-instance:
kind: mysql
host: 0.0.0.0
port: my-host
port: my-port
database: my_db
user: my_user
password: my_pass
Expand All @@ -100,7 +100,7 @@ func TestFailParseFromYaml(t *testing.T) {
sources:
my-mysql-instance:
kind: mysql
port: my-host
port: my-port
database: my_db
user: my_user
password: my_pass
Expand Down
8 changes: 4 additions & 4 deletions internal/sources/postgres/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestParseFromYamlPostgres(t *testing.T) {
my-pg-instance:
kind: postgres
host: my-host
port: 0.0.0.0
port: my-port
database: my_db
user: my_user
password: my_pass
Expand All @@ -47,7 +47,7 @@ func TestParseFromYamlPostgres(t *testing.T) {
Name: "my-pg-instance",
Kind: postgres.SourceKind,
Host: "my-host",
Port: "0.0.0.0",
Port: "my-port",
Database: "my_db",
User: "my_user",
Password: "my_pass",
Expand Down Expand Up @@ -86,7 +86,7 @@ func TestFailParseFromYaml(t *testing.T) {
my-pg-instance:
kind: postgres
host: my-host
port: 0.0.0.0
port: my-port
database: my_db
user: my_user
password: my_pass
Expand All @@ -101,7 +101,7 @@ func TestFailParseFromYaml(t *testing.T) {
my-pg-instance:
kind: postgres
host: my-host
port: 0.0.0.0
port: my-port
database: my_db
user: my_user
`,
Expand Down
Loading