mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 23:13:22 +00:00
Merge branch 'claude/fix-bugs-and-gaps-01DvJSzruQh49DU6XK5AykQU' (#4)
This commit is contained in:
@@ -136,6 +136,30 @@ func TestValidate(t *testing.T) {
|
||||
},
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
name: "Valid output type single",
|
||||
config: Config{
|
||||
FileExtensions: []string{"go"},
|
||||
OutputType: "single",
|
||||
},
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "Valid output type separate",
|
||||
config: Config{
|
||||
FileExtensions: []string{"go"},
|
||||
OutputType: "separate",
|
||||
},
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "Invalid output type",
|
||||
config: Config{
|
||||
FileExtensions: []string{"go"},
|
||||
OutputType: "invalid",
|
||||
},
|
||||
wantErr: true,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user