Skip to content

Commit

Permalink
Merge branch 'master' into line-break
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Dec 30, 2023
2 parents d9d5dc8 + 973c119 commit bff56e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,15 @@ func TestGetConfig(t *testing.T) {
args: args{
fp: "no_dsn.yml",
},
want: nil,
want: &Config{
Connections: []*database.DBConfig{
{
Alias: "sqls_sqlite3",
Driver: "sqlite3",
DataSourceName: "",
},
},
},
wantErr: true,
errMsg: "failed validation, required: connections[].dataSourceName",
},
Expand Down

0 comments on commit bff56e1

Please sign in to comment.