Skip to content

Commit

Permalink
Fixing Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
beautifulentropy committed Feb 12, 2021
1 parent 95fef42 commit b48184c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@ func TestDBConfigURL(t *testing.T) {
}{
{
// Test with one config file that has no trailing newline
// TODO(#5275): Refactor once each component struct and all
// configs in dev, staging and prod have been updated to
// contain the named `DBConfig` field
conf: DBConfig{DBConnectFile: "testdata/test_dburl"},
expected: "test@tcp(testhost:3306)/testDB?readTimeout=800ms&writeTimeout=800ms",
},
{
// Test with a config file that *has* a trailing newline
// TODO(#5275): Refactor once each component struct and all
// configs in dev, staging and prod have been updated to
// contain the named `DBConfig` field
conf: DBConfig{DBConnectFile: "testdata/test_dburl_newline"},
expected: "test@tcp(testhost:3306)/testDB?readTimeout=800ms&writeTimeout=800ms",
},
Expand Down

0 comments on commit b48184c

Please sign in to comment.