Skip to content

Commit

Permalink
augment test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sstalin committed Feb 27, 2024
1 parent b40e15b commit d752d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mapi/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func TestParseDSN(t *testing.T) {
{"/"},
{""},
{":secret@localhost:1234/testdb"},
{"user:abcd123@efgh123:abc456@localhost:50000/db", "user", "abcd123@efgh123:abc456", "localhost", "50000", "db"},
}

for _, tc := range tcs {
Expand Down
1 change: 1 addition & 0 deletions v2/mapi/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func TestParseDSN(t *testing.T) {
{"/"},
{""},
{":secret@localhost:1234/testdb"},
{"user:abcd123@efgh123:abc456@localhost:50000/db", "user", "abcd123@efgh123:abc456", "localhost", "50000", "db"},
}

for _, tc := range tcs {
Expand Down

0 comments on commit d752d0d

Please sign in to comment.