mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-13 06:23:18 +00:00
fix: correct import path and update Config struct usage in test
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/yourusername/yourproject/internal/config"
|
||||
"github.com/tnypxl/rollup/internal/config"
|
||||
)
|
||||
|
||||
func TestMatchGlob(t *testing.T) {
|
||||
@@ -100,9 +100,10 @@ func TestRunRollup(t *testing.T) {
|
||||
}
|
||||
|
||||
// Set up test configuration
|
||||
cfg = &Config{
|
||||
FileTypes: []string{"go", "txt"},
|
||||
Ignore: []string{"*.json"},
|
||||
cfg = &config.Config{
|
||||
FileTypes: []string{"go", "txt"},
|
||||
Ignore: []string{"*.json"},
|
||||
CodeGenerated: []string{},
|
||||
}
|
||||
path = tempDir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user