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