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